Returning Boolean Values from Functions please help

Returning Boolean Values from Functions please help
0

#1

Tell us what’s happening:

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:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/returning-boolean-values-from-functions/


#2

You have the basic idea, but the logic is wrong.

return a===b;

You’re supposed to check if a is less than b, not equal.