Write a function called isEven that takes in a number and returns true if that number is even and returns false if it is odd. code example
Example: if odd js
function isEven(value) {
return !(value % 2)
}
function isEven(value) {
return !(value % 2)
}