how to write code in java script to return odd or even number code example Example: if odd js function isEven(value) { return !(value % 2) }