阅读背景:

JavaScript比较操作符:身份与平等

来源:互联网 

I've been trying to understand the difference between JavaScript's comparison operators: identity and equality. From what I've read, if you check the equality of two objects using ==, JavaScript will try to figure out if they are the same type and, if not, try to get them to that same type. However, === doesn't behave in the same manner. So as an example:I've been trying to understand the difference b




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: