标签云

微信群

扫码加入我们

WeChat QR Code

Possible Duplicates:Javascript === vs == : Does it matter which “equal” operator I use?Javascript operator !==Look at this commit Is != same as !== in JavaScript?


See stackoverflow.com/questions/359494/javascript-vs

2019年05月22日08分13秒

-1: Was google broken?A search for "Javascript comparison operators" turned up dozens of explanations of the difference.What was wrong with those?What more did you need to know?

2019年05月22日08分13秒

S.Lott: He needed to have known that they were called "Javascript comparison operators" for one thing - which the question doesn't imply he does (to be fair to the original poster).

2019年05月22日08分13秒

Try to type in !== in google and see what results you get. Even javascript !== - so google won't help

2019年05月22日08分13秒

dang, some of you are cranky

2019年05月22日08分13秒

And for the full skinny, there's nothing like the spec. You can download the latest from here: ecma-international.org/publications/files/draftsIt's the PDF file starting with "tc39-" (as of this writing, tc39-2009-050.pdf). That says it's a draft, but it was voted through earlier this month.

2019年05月22日08分13秒

And see stackoverflow.com/questions/359494/… how to read the spec!

2019年05月22日08分13秒

Hehe, the fact that you need a manual to read a spec really says something about the quality of the spec itself :)

2019年05月22日08分13秒