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

Generator spec reference link is outdated in `runtime.js` file #703

Closed rbals0445 closed 8 months ago

rbals0445 commented 11 months ago

Hello! (related : https://github.com/facebook/regenerator/issues/158)

While looking at the regenerator code, I found that the link was not working properly.

https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L263 image

I think you meant number three of GeneratorResume. so it would be nice to replace the link with an official document

https://262.ecma-international.org/6.0/#sec-generatorresume

image

thank you!