.
const isDivisible = (n, x, y) => { if (n % x == 0 && n % y == 0) return true else return false }
function isDivisible(n, x, y) {if (n % x === 0 && n % y === 0) {return true} else {return false}- const isDivisible = (n, x, y) => {
- if (n % x == 0 && n % y == 0) return true
- else return false
- }