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

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.