Returning Boolean Values from Functions help

is the question wrong or am i doing something wrong?

Your code so far

function isLess(a, b) {
  // Fix this code
return a === b;
// Change these values to test
isLess(10, 15);

Your browser information:

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

Link to the challenge:

The introduction speaks about the strict equality operator but that’s not the point:

You may recall from Comparison with the Equality Operator that all comparison operators return a boolean true or false value

This is the point^^
And since the function is called ‘isLess’ you might look at the ‘less than’ operator ( <)

1 Like

thank you so much!! didnt see that

1 Like