Is there a !=== comparison operator? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is there a !=== comparison operator?

It isn’t talked about in the comparison operator lessons and I can’t find a question that involves this topic. Is this a valid comparison operator in JavaScript?

7th Jan 2018, 1:27 AM
Pete Cowling
Pete Cowling - avatar
2 Answers
+ 2
Nope. That is invalid. The valid ones are != and !== which somehow corresponds to == and ===.
7th Jan 2018, 2:21 AM
Jonathan Pizarra (JS Challenger)
Jonathan Pizarra (JS Challenger) - avatar
+ 1
Easy answer 😃. Thanks
7th Jan 2018, 2:50 AM
Pete Cowling
Pete Cowling - avatar