mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2024-04-21 12:32:22 +00:00
fix(iterator): fix typo
This commit is contained in:
+1
-1
@@ -497,7 +497,7 @@ function readLinesSync(file) {
|
||||
|
||||
```javascript
|
||||
for (let line of readLinesSync(fileName)) {
|
||||
console.log(x);
|
||||
console.log(line);
|
||||
break;
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user