I don't get it


Click here to go to my program

I just don't get what the instructions say.do ?.:question:
you I just don't know! Help?Help me?Please? :confused:

ar isEven = function(number) {
  // Your code goes here!

        } else{


The instructions want you to create a function that checks if a number is even.

var isEven = function(number) {
  if (number is even) {
      return true;
  else {
      return false;

You'll have to replace number is even with the JS equivalent. Hint: Use %


how did you make Use % blurred?


Just a nice trick I have :) You may as well create a new topic on this, and I'll answer it there :slight_smile:


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