or statment javscript
if (x === 5 || x === 8)
console.log("x is eaqual to 5 OR 8")
or statment javscript
if (x === 5 || x === 8)
console.log("x is eaqual to 5 OR 8")
less than or equal to javascript
if(a <= 5){
yourFunction();
}
not operator js
let a = true;
let b = !a;
console.log(b); //output: false
less than equal to in javascript
| <= | less than or equal to | x <= 8 | true |
|| in js
const a = 3;
const b = -2;
console.log(a > 0 || b > 0);
// expected output: true
and javascript
let a = 1;
let b = -1;
if (a > 0 & b > 0){
console.log("and");
} else if (a > 0 || b > 0){
console.log("or");
}
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