Merge pull request #119 from banricho/patch-1

set-map.md 中变量未定义
This commit is contained in:
Ruan YiFeng
2016-01-09 21:12:23 +08:00
+1 -1
View File
@@ -13,7 +13,7 @@ var s = new Set();
[2,3,5,4,5,2,2].map(x => s.add(x))
for (i of s) {console.log(i)}
for (let i of s) {console.log(i)}
// 2 3 5 4
```