- #1

mindauggas

- 127

- 0

Problem statement:

Define isOdd function, and then define isEven function in terms of isOdd function.

My attempt is ridiculous:

Define isOdd function, and then define isEven function in terms of isOdd function.

My attempt is ridiculous:

Code:

```
var isOdd = function (x){
if (x % 2 ===0){
return isOdd;
}else{
return "is even";
}
};
var isEven = function (){
return;
};
```

Last edited by a moderator: