Not seeing my mistake


#1

here's my code plz tell me what stupid thing i've done.

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

if (quarter(12) % 3 === 0 ) {
console.log("The statement is true");
} else {
console.log("The statement is false");
}


8. Functions, Return and If / Else
#2

HI this line

var function=quarter(number)

Do you see the error now?


#3

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