function isEven(numbers) { if (numbers % 2 == 0) { return true; } return false; } var input = 22; var result = isEven(input); console.log(result) //Outpur: true
let isEven = (n) => !(n&1);