Ad
Code
Diff
  • const isDivisible = (n,...args) => args.every(arg => Number.isInteger(n / arg));
    • const isDivisible = (n, ...args) => args.every(arg => Number.isInteger(n / arg));
    • const isDivisible = (n,...args) => args.every(arg => Number.isInteger(n / arg));