mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-24 18:32:22 +00:00
缺少括号
This commit is contained in:
parent
49b496c704
commit
bb7ce158b3
@ -130,7 +130,7 @@ var flat = function* (a) {
|
||||
} else {
|
||||
yield item;
|
||||
}
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
for (var f of flat(arr)){
|
||||
|
Loading…
x
Reference in New Issue
Block a user