Skip to content

Commit

Permalink
Fix outdated reference link in runtime.js (#704)
Browse files Browse the repository at this point in the history
* fix: modify outdated reference link

* Elaborate GeneratorResume doneResult() comment in runtime.js

Co-authored-by: Ben Newman <ben@benjamn.com>
  • Loading branch information
rbals0445 and benjamn authored Dec 15, 2023
1 parent 853925f commit fc6b844
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/runtime/runtime.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,9 @@ var runtime = (function (exports) {
throw arg;
}

// Be forgiving, per 25.3.3.3.3 of the spec:
// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume
// Be forgiving, per GeneratorResume behavior specified since ES2015:
// ES2015 spec, step 3: https://262.ecma-international.org/6.0/#sec-generatorresume
// Latest spec, step 2: https://tc39.es/ecma262/#sec-generatorresume
return doneResult();
}

Expand Down

0 comments on commit fc6b844

Please sign in to comment.