SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
-
May 3, 2005, 23:59 #1
- Join Date
- Feb 2005
- Posts
- 602
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
When were === and !== introduced?
How backward compatible are === and !== ? Were they always in JS, or what version were they introduced?
-
May 4, 2005, 00:26 #2
- Join Date
- May 2004
- Location
- Europe
- Posts
- 216
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
These operators were introduced in JS 1.3 after the failed experiment ins JS 1.2 to make 1 != "1", in ohter words 1.2 didn't automatically try a type conversion for == and != .
-
May 4, 2005, 03:11 #3
- Join Date
- Feb 2005
- Posts
- 602
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Ah thanks
Bookmarks