4 ms·
Aren't generators part of Babel? As long as you target ES5 shouldn't you be able to use generators via Babel?
by xtrumanx 11y ago
Aren't generators part of Babel? As long as you target ES5 shouldn't you be able to use generators via Babel?
- kenOfYugen 11y agoGenerator 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.