Skip to content

Commit

Permalink
Editorial: Explictly define 'internalSlotsList' in OrdinaryCreateFrom…
Browse files Browse the repository at this point in the history
…Constructor
  • Loading branch information
h2oche committed Apr 9, 2021
1 parent 26061c0 commit 787d2ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -10569,6 +10569,7 @@ <h1>OrdinaryCreateFromConstructor ( _constructor_, _intrinsicDefaultProto_ [ , _
<emu-alg>
1. Assert: _intrinsicDefaultProto_ is a String value that is this specification's name of an intrinsic object. The corresponding object must be an intrinsic that is intended to be used as the [[Prototype]] value of an object.
1. Let _proto_ be ? GetPrototypeFromConstructor(_constructor_, _intrinsicDefaultProto_).
1. If _internalSlotsList_ is not present, set _internalSlotsList_ to a new empty List.
1. Return ! OrdinaryObjectCreate(_proto_, _internalSlotsList_).
</emu-alg>
</emu-clause>
Expand Down

0 comments on commit 787d2ee

Please sign in to comment.