Comparison with the Strict Equality Operator (i need help)

Comparison with the Strict Equality Operator (i need help)
0

#1

Tell us what’s happening:
this what I have done so far I don’t know what I miss

Your code so far

// Setup
function testStrict(val) {
  if (val === 10) { // Change this line
    return "Equal";
  }
  return "Not Equal";
}

// Change this value to test
testStrict("7");

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36.

Link to the challenge:


#2

The function needs to test if the value passed to it is strictly equal to 7. Your code is checking if the value’s equal to 10.