SyntaxFix
Write A Post
Hire A Developer
Questions
This can be solved with a small snippet of code:
function isEven(value) { return !(value % 2) }
Hope this helps :)