check if a number is pair or impair javascript code example Example: javascript even number let isEven = (n) => !(n&1);