Periksa apakah angka itu genap atau ganjil
const isEven = num => num % 2 === 0;
console.log(isEven(2));
// Result: True
thefazeelahmed
const isEven = num => num % 2 === 0;
console.log(isEven(2));
// Result: True