Javascript Check a Number is Even
JavaScript checks whether a given number is even.
const isNumberEven = num => num % 2 === 0;
let result = isNumberEven(18);
console.log(result); // true
Md Obydullah
Software Engineer | Ethical Hacker & Cybersecurity...
Md Obydullah is a software engineer and full stack developer specialist at Laravel, Django, Vue.js, Node.js, Android, Linux Server, and Ethichal Hacking.