Why doesnt it work it says statement is false


#1

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

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


#2

You need to pass quarter(12) here


#3

omg i didnt know thank you so much:grinning::sob:


#4

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