1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-24 18:32:22 +00:00

缺少括号

This commit is contained in:
xiangyangLi 2017-05-24 16:00:40 +08:00
parent 49b496c704
commit bb7ce158b3

View File

@ -130,7 +130,7 @@ var flat = function* (a) {
} else { } else {
yield item; yield item;
} }
} });
}; };
for (var f of flat(arr)){ for (var f of flat(arr)){