top | item 10064763

(no title)

xtrumanx | 10 years ago

Aren't generators part of Babel? As long as you target ES5 shouldn't you be able to use generators via Babel?

discuss

order

kenOfYugen|10 years ago

Generator functions are part of ES6/2015 and are supported by babel. But keep note that downgrading them to ES5 spec. includes a performance trade-off.