How to call the quarter function


#1

Basically, I have tried unsuccessfully to call the quarter function for this exercise. Just need to see this explained again I guess.

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

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

#2

console.log is also a function, look at what you do to call that.


#3

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