Answers for "not equal to operator in javascript"

7

not equal to in js

let a=12
if(a!=5){
  console.log(true)
}
since a is not equal to 5, it will print true
Posted by: Guest on August-31-2020
4

javascript not equal

0 !== "0"
0 !== 0
Posted by: Guest on March-13-2020
0

or operator js

//OR Operator 

const x = 7;
const y = 4;

(x == 5 || y == 5); // false 
(x == 7 || y == 0); // true
(x == 0 || y == 4); // true
(x == 7 || y == 4); // true
Posted by: Guest on September-26-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language