> On Mar 26, 2015, at 10:50 PM, Axel Rauschmayer <[email protected]> wrote: > > `return()` being optional is true for arrays: > > ... > > But it is not true for generators:
but it is...
>
> ```js
> function* elements() {
> yield 'a';
> yield 'b';
> yield 'c';
> }
```js
elements.prototype.return = undefined;
```
Allen
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

