facebook / regenerator

Source transformer enabling ECMAScript 6 generator functions in JavaScript-of-today.
http://facebook.github.io/regenerator/
MIT License
3.82k stars 1.16k forks source link

Fix yield * of falsy values #711

Closed nicolo-ribaudo closed 8 months ago

nicolo-ribaudo commented 9 months ago

Test case found while running test262 with Babel: https://github.com/tc39/test262/blob/467a0fe68f633fabde77df94d993c45e840627a0/test/language/expressions/yield/star-in-rltn-expr.js