Re:ES6 generators in depth
by rauschma on Monday March 30, 2015 @04:04PM
(#9292197)
Yes, that’s how it works. `yield` is only reserved in ES5 strict mode. But due to it only being a keyword inside generators, there are no problems in non-strict mode.
[ Parent
| on HN ]
There are no comments on this comment yet.