mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-24 18:32:22 +00:00
fix(iterator): fix typo
This commit is contained in:
parent
e0f36e61fc
commit
d50aa29a21
@ -497,7 +497,7 @@ function readLinesSync(file) {
|
||||
|
||||
```javascript
|
||||
for (let line of readLinesSync(fileName)) {
|
||||
console.log(x);
|
||||
console.log(line);
|
||||
break;
|
||||
}
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user