What is- "!="? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is- "!="?

I not remember

11th Aug 2018, 2:58 PM
Grade Show
Grade Show - avatar
3 Answers
+ 2
means logical "not" JS example: var x = 5; if(x != 5) //false, x is equal to 5 , must be not {some code } //will not work ----------------------------------------------------------------------------- another example: var x = 4; if(x != 5) //true, x not equal 5 {some code } //will work
11th Aug 2018, 3:26 PM
The Ophiuchus
The Ophiuchus - avatar
+ 1
It's the opposite of ==
11th Aug 2018, 3:25 PM
TurtleShell
TurtleShell - avatar
0
It means "does not equal" It's the same as this: ≠
11th Aug 2018, 3:51 PM
ReimarPB
ReimarPB - avatar