This should read as 0 (resolved)


#1

// Define quarter here.
var quarter = function(num)
{
return num/4;
};
number = quarter(48)

if (quarter() % 3 === 0 ) {
console.log("The statement is true");
} else {
console.log("The statement is false");
}
That's my code, but it still reads as false. The way I see it... 48/4=12, 12/3=4 R0. What's wrong?


#2

Also, I just fixed the curly braces but still no effect. I don't know what's wrong!


#3

That call to the quarter function needs a value in the parentheses. Your quarter function is expecting a number.


#4

OK, thanks. JavaScript is a long lesson.