Skip to content

Commit b39d0e6

Browse files
committed
Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages
2 parents 571088b + 4256264 commit b39d0e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/symbol.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ Symbol作为属性名,该属性不会出现在`for...in`、`for...of`循环中
246246
```javascript
247247
var obj = {};
248248
var a = Symbol('a');
249-
var b = Symbol.for('b');
249+
var b = Symbol('b');
250250

251251
obj[a] = 'Hello';
252252
obj[b] = 'World';

0 commit comments

Comments
 (0)