Comparison with the Strict Inequality Operator help help

Tell us what’s happening:
I cannot submit this no matterhow many times I try . What’s going on here? Anybody with any ideas as to why?

Your code so far


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

  // Only Change Code Above this Line

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

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

Your browser information:

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

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-strict-inequality-operator/

Read the instructions carefully for the challenge.
You add comparison operators in if statements and not in function arguments.

In bracket after function name arguments are given.

1 Like

Lol, that is true and true… Thanks fam, now I know why it is not submitting. Was going crazy for a bit here, thought there was something wrong with the system.
Thank you for clarifying!