8. Opps, Try Again


#1

I don't understand what's wrong with this code:

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

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


#3

Nvm it was some weird bug.... >.>


#4

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