Javascript Check a Number is Odd
JavaScript checks whether a given number is odd.
const isNumberOdd = num => num % 2 === 1;
let result = isNumberOdd(17);
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.