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