what can you use to create a generator method?
Would
*gen (args) { body }
be possible?
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
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?
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