if odd js
function isEven(value) {
return !(value % 2)
}
if odd js
function isEven(value) {
return !(value % 2)
}
odd or even js
for(let count =0; count<=100;count++){
count%2==0? console.log(`${count} is even`):console.log(`${count} is odd`);
;
}
odd and even in javascript
const OddorEven = (num)=>num&1?"odd":"even";
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us