Tell us what’s happening:
Hello,
I think the triple equals equality operator should be allowed here.
Your code so far
// Setup
function testEqual(val) {
if (val === 12) { // Change this line
return "Equal";
}
return "Not Equal";
}
// Change this value to test
testEqual(12);
Your browser information:
User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0
.
Challenge: Comparison with the Equality Operator
Link to the challenge:
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-equality-operator