120%
2-250%
4-380%
3.1-9.10%
3.2-9.30.01%
BaselineWidely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since March 2019.
ES6 Generators are special functions that can be used to control the iteration behavior of a loop. Generators are defined using a function* declaration.