Answers for "js if not equal"

5

javascript if not

var isDay = false;
if (!isDay) { //Will execute if isDay is false
  console.log("It's night");
}
Posted by: Guest on May-20-2020
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

Code answers related to "Javascript"

Browse Popular Code Answers by Language