Tell us what’s happening:
It says "SyntaxError: unknown: Unexpected token (11:0)
9 | // Change this value to test
10 | testEqual(10);
11 |
| ^ "
Your code so far
function testEqual(val) {
if (val == 12) {
// Change this line
return "Equal";
}
return "Not equal";
}
// Change this value to test
testEqual(10);
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36
.
Challenge: Comparison with the Equality Operator