Ad
Code
Diff
  • const isDivisible = (n, x, y) => n % x == n % y;
    
    • const isDivisible = (n, x, y) => n % x == 0 && n % y == 0;
    • const isDivisible = (n, x, y) => n % x == n % y;