Skip to content

Commit

Permalink
Editorial: initialize missing fields in OrdinaryFunctionCreate (#2464)
Browse files Browse the repository at this point in the history
  • Loading branch information
devsnek authored and ljharb committed Jul 22, 2021
1 parent aa948ec commit 691c447
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -13108,6 +13108,8 @@ <h1>
1. Set _F_.[[ScriptOrModule]] to GetActiveScriptOrModule().
1. Set _F_.[[Realm]] to the current Realm Record.
1. Set _F_.[[HomeObject]] to *undefined*.
1. Set _F_.[[Fields]] to a new empty List.
1. Set _F_.[[PrivateMethods]] to a new empty List.
1. Set _F_.[[ClassFieldInitializerName]] to ~empty~.
1. Let _len_ be the ExpectedArgumentCount of _ParameterList_.
1. Perform ! SetFunctionLength(_F_, _len_).
Expand Down

0 comments on commit 691c447

Please sign in to comment.