Help Me!: 9. More on Control Flow in JS topics


#1

I am confuse!!!!!!!???????? What am I suppose to put in my else if statement?
var isEven = function(number) {

if (number % 2) {
return true;
} else if() {
return true;
} else {
return false;
}
};

isEven(6);


#2

@kodekat9,
Do a google search
== discussions / opinions ==
javascript test if argument is a number isnan site:stackoverflow.com
http://stackoverflow.com/questions/175739/is-there-a-built-in-way-in-javascript-to-check-if-a-string-is-a-valid-number