regenerator

If generator functions are not supported on the target platform, we can use regenerator to transpile generator functions into ES5. Babel also has a transform-regenerator plugin to perform the transformation. If you use Babel preset ES2015, then this plugin is already included.

results matching ""

    No results matching ""