1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-28 13:02:21 +00:00

改进措辞

This commit is contained in:
龙腾道 2019-08-26 05:23:50 +08:00 committed by GitHub
parent a9217ff93e
commit 6e1e8d933c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,7 +72,7 @@ set.add(b);
set // Set {NaN}
```
上面代码向 Set 实例添加了两`NaN`,但是只能加入一个。这表明,在 Set 内部,两个`NaN`是相等。
上面代码向 Set 实例添加了两`NaN`,但是只会加入一个。这表明,在 Set 内部,两个`NaN`是相等
另外,两个对象总是不相等的。