Ad
Code
Diff
  • const isDivisible = (n, x, y) => (n % x == 0 && n % y == 0);
    
    • const isDivisible = (n, x, y) => n % x == 0 && n % y == 0;
    • const isDivisible = (n, x, y) => (n % x == 0 && n % y == 0);
Code
Diff
  • const upperCase = s => s.toUpperCase();
    • upperCase = s => s.toUpperCase``
    • const upperCase = s => s.toUpperCase();
Code
Diff
  • // why not ?
    const power = ( a, b ) => a ** b;
    
    
    • // why not ?
    • power = ( a, b ) => a ** b;
    • const power = ( a, b ) => a ** b;