mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-28 13:02:21 +00:00
改进措辞
This commit is contained in:
parent
a9217ff93e
commit
6e1e8d933c
@ -72,7 +72,7 @@ set.add(b);
|
||||
set // Set {NaN}
|
||||
```
|
||||
|
||||
上面代码向 Set 实例添加了两个`NaN`,但是只能加入一个。这表明,在 Set 内部,两个`NaN`是相等。
|
||||
上面代码向 Set 实例添加了两次`NaN`,但是只会加入一个。这表明,在 Set 内部,两个`NaN`是相等的。
|
||||
|
||||
另外,两个对象总是不相等的。
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user