Function isLess

Tell us what’s happening:

I gave up, and essentially cut and paste the answer. Still no dice…
This happens a lot, 1/2 the time I see i forgot this or the other,
but the other 1/2, i swear it just doesn’t work. Kills any motivation to struggle with it;/

Your code so far


function isLess(a, b) {
// Only change code below this line
  return a <= b;
}
// Only change code above this line
}

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/81.0.4044.138 Safari/537.36.

Challenge: Returning Boolean Values from Functions

Link to the challenge:

You don’t need the = sign, because the challenge just asks if a is SMALLER THAN < B
so its just a simple

return a < b;