Comparison with the Strict Equality Operator

Tell us what’s happening:
Are you supposed to remove the (val) and replace it with the 7 === 7? If so how does it find the val?

Your code so far

// Setup
function testStrict(val) {
  if (val) {
    return "Equal";
  return "Not Equal";

// Change this value to test

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/603.3.8 (KHTML, like Gecko) Version/10.1.2 Safari/603.3.8.

Link to the challenge:

I figured it out. :slight_smile:

Can you share with us the sollution and mark it?