Comparison with the Strict Inequality Operator help

Tell us what’s happening:

Your code so far

// Setup
function testStrictNotEqual(val) {
  // Only Change Code Below this Line
  
  if (val) {
  17 !== 17;
  // Only Change Code Above this Line

    return "Not Equal";
  }
  return "Equal";
}

// Change this value to test
testStrictNotEqual(17);

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36.

Link to the challenge:
https://www.freecodecamp.org/challenges/comparison-with-the-strict-inequality-operator

I’ve going crazy with this bc i feel it’s so easy and i just can’t figure it out. I don’t know what’s wrong with my code, especially since i’ve tried several ways, like 17 !== ‘17’; 17 !== 17; 17 !== 10; etc.
testStrictNotEqual(17) should return “Equal” <- this has an ‘x’ of wrong
testStrictNotEqual(“17”) should return “Not Equal” <- this says it’s good
testStrictNotEqual(12) should return “Not Equal” <- good
testStrictNotEqual(“bob”) should return “Not Equal” <- good
You should use the !== operator <- wrong
Please help

Let’s break it down the requirements:

Add the strict inequality operator to the if statement so the function will return “Not Equal” when val is not strictly equal to 17

So you want to return not equal when val is not 17.

By writing this:

17 !== 17;

You are not testing if value is not 17, you are always testing if 17 is not 17, no matter which value I pass.

Also the checking condition should be in the if statement,
that’s how you want your function to work:

  if val is not 17 {
    return "Not Equal";
  }

// Setup
function testNotEqual(val) {
if (99!=2) { // Change this line
return “Not Equal”;
}
return “Equal”;
}

// Change this value to test
testNotEqual(99);

// Setup
function testNotEqual(val) {
if (“99!”=“2”) { // Change this line
return “Not Equal”;
}
return “Equal”;
}

// Change this value to test
testNotEqual(“99”);

// Setup
function testNotEqual(val) {
if (12) { // Change this line
return “Not Equal”;
}
return “Equal”;
}

// Change this value to test
testNotEqual(12);

// Setup
function testNotEqual(val) {
if (“12”) { // Change this line
return “Not Equal”;
}
return “Equal”;
}

// Change this value to test
testNotEqual(“12”);