commit
b18719af3d
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ for(let value of generator) {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Naturally, as generators are iterable, we can all related functionality, e.g. the spread operator `...`:
|
Naturally, as generators are iterable, we can call all related functionality, e.g. the spread operator `...`:
|
||||||
|
|
||||||
```js run
|
```js run
|
||||||
function* generateSequence() {
|
function* generateSequence() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue