Y
Hacker News
new
|
ask
|
show
|
jobs
by
xtrumanx
3959 days ago
Aren't generators part of Babel? As long as you target ES5 shouldn't you be able to use generators via Babel?
1 comments
kenOfYugen
3959 days 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.
link