mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-25 03:02:21 +00:00
Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages
This commit is contained in:
commit
b39d0e606e
@ -246,7 +246,7 @@ Symbol作为属性名,该属性不会出现在`for...in`、`for...of`循环中
|
||||
```javascript
|
||||
var obj = {};
|
||||
var a = Symbol('a');
|
||||
var b = Symbol.for('b');
|
||||
var b = Symbol('b');
|
||||
|
||||
obj[a] = 'Hello';
|
||||
obj[b] = 'World';
|
||||
|
Loading…
x
Reference in New Issue
Block a user