Basic JavaScript - Comparison with the Strict Equality Operator

Tell us what’s happening:
Describe your issue in detail here.

Your code so far no entiendo, no me sirve nada

// Setup
function testStrict(val) {
  if (val === 7) {
    return "Equal";
  }
  return "Not equal";
}

// Change this value to test
console.log(testStrict(10));
console.log(testStrict(7));
console.log(testStrict("7"));

Your browser information:

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

Challenge: Basic JavaScript - Comparison with the Strict Equality Operator

Link to the challenge:

You changed “Not Equal” to “Not equal”.

You, and the tests, will be much happier if you do not make unexpected changes :slightly_smiling_face:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.