This commit is contained in:
va-z 2019-09-06 21:16:32 +05:00 committed by GitHub
parent 9869922dbf
commit bec7821d96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,4 +35,4 @@ alert(generator()); // 282475249
alert(generator()); // 1622650073 alert(generator()); // 1622650073
``` ```
That also works. But then we loose ability to iterate with `for..of` and to use generator composition, that may be useful elsewhere. That also works. But then we lose ability to iterate with `for..of` and to use generator composition, that may be useful elsewhere.