Skip to content

Commit

Permalink
Editorial: completion reform for JavaScript AOs
Browse files Browse the repository at this point in the history
As part of the tc39/ecma262#2547 the JavaScript specification has reformed how it deals with Completion Records, and thus what abstract operations can return. See tc39/ecma262#253 (comment) for a brief description of when to use ? vs. ! vs. nothing at all.

Additional minor fixes:

* Replace uses of ObjectCreate (which no longer exists) with OrdinaryObjectCreate.
* Replace "Rethrow any exceptions" with the ? syntax.
* Use ? with GetFunctionRealm, which can throw due to revoked proxies.
  • Loading branch information
syg authored Feb 27, 2022
1 parent d17eac0 commit f125068
Showing 1 changed file with 72 additions and 65 deletions.
Loading

0 comments on commit f125068

Please sign in to comment.