Hi,

for a function, you can instead of

 method: function (args) { body },

use the convenient (and non-enumerating)

 method (args) { body }

in literal / class.

But for a generator


 gen: function* (args) { body }

what can you use to create a generator method?
Would

 *gen (args) { body }

be possible?

Herby
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to