8.functions returns and if/else, Code check plz!


#1

https://www.codecademy.com/courses/javascript-beginner-en-6LzGd/1/3?curriculum_id=506324b3a7dffd00020bf661#

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




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


#2

inside your quarter function, you should return number divided by 4


#3

I am also stuck here....i didn't get that "inside your quarter function, you should return number divided by 4"


#4

#5

This topic is really old, if you still need help, please make a new topic.