Challenge: Returning Boolean Values from Functions

*Help guys

  **Your code so far**

function isLess(a, b) {
// Only change code below this line

function isLess(a, b) {
// Fix this code
return a*3 === b*2;
}


// Only change code above this line
}

isLess(10, 15);
  **Your browser information:**

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

Challenge: Returning Boolean Values from Functions

Link to the challenge:

why do you have the function signature twice?

[As well as writing the function inside another function] You are returning “a × 3 is equal to b × 2” when you are supposed to be returning “a is less than b”. You aren’t being asked to do any maths, to change what a or b is

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.