Ad
Code
Diff
  • isEven = number => number %2 === 0 ? 
      true: number %1 === 0 ? 
      false : undefined;
    • isEven=n=>n%1==0?!(n%2):{}.a
    • isEven = number => number %2 === 0 ?
    • true: number %1 === 0 ?
    • false : undefined;