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