Click here to Skip to main content
12,749,046 members (36,498 online)
Click here to Skip to main content
Alternatives (2)
Add your own
alternative version


5 bookmarked
Posted 21 Feb 2011

Javascript Operators === & !==

, 28 Feb 2011 CPOL
Javascript Operators === & !==


Members may post updates or alternatives to this current article in order to show different approaches or add new features.

10 Mar 2011
Øyvind Sean Kinsey
The algorithm behind the EqualityExpression (==,===, !=, !==) is a bit more complex than what is portrayed in some of the other alternates and comments, and a correct understanding of this actually quite important in order to avoid unforeseen errors in javascript programs.The short story is...
11 Mar 2011
The actual difference between Javascript's == and === operators is that the == operator is less strict when comparing the operands. For example, 1=="1" evaluates to true while 1==="1" evaluates to false.Full description can be found on ECMAScript standard, at...


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Antoun Gorgy
Software Developer
Egypt Egypt
- BSc Computer Engineering
Ain Shams University - Faculty of Engineering

| | Privacy | Terms of Use | Mobile
Web02 | 2.8.170215.1 | Last Updated 1 Mar 2011
Article Copyright 2011 by Antoun Gorgy
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid