As someone who is new to Javascript, I find it kind of odd that Javascript doesn't seem to have a != operator. Is there a rationale why the language was designed this way?

Recommended Answers

JavaScript has both != and !==

!= is not equal
!== is not equal in value or type

JavaScript Operators

Jump to Post

All 2 Replies

JavaScript has both != and !==

!= is not equal
!== is not equal in value or type

JavaScript Operators

I had a look at that page.Thanks. :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.