domenic at domenicdenicola.com (2013-12-10T01:25:09.539Z)
> ```js
> function*(a = yield/b/g) {
> a = yield/b/g;
> }
> ```
Why allow yield as an identifier in parameter defaults of generators?
Wouldn't it be simpler just to disallow there as well?
> > function*(a = yield/b/g) { > a = yield/b/g; > } > Why allow yield as an identifier in parameter defaults of generators? Wouldn't it be simpler just to disallow there as well? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20131128/141f6474/attachment.html>