Your Submissions
You haven't submitted any code for this challenge yet. Solve the problem by passing all the test cases, and your submissions will appear here.
xxxxxxxxxx
43
var assert = require('assert');
function validateSymbols(str) {
// implement this method
return str;
}
try {
assertIsFunction(validateSymbols);
console.log('PASSED: ' + '`validateSymbols` is a function');
} catch (err) {
console.log(err);
}
try {
assert.equal(validateSymbols('[]'), true);
console.log('PASSED: ' + "`validateSymbols('[]')` should return `true`");
} catch (err) {
console.log(err);
}
try {
assert.equal(validateSymbols('{{[]}}'), true);
console.log('PASSED: ' + "`validateSymbols('{{[]}}')` should return `true`");
OUTPUT
Results will appear here.