Skip to content

Commit

Permalink
Use null instead of Object.prototype as root metadata object prototype
Browse files Browse the repository at this point in the history
  • Loading branch information
pzuraq committed May 1, 2023
1 parent dba2ed1 commit c8f04d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -25211,7 +25211,7 @@ <h1>
1. Let _instanceExtraInitializers_ be a new empty List.
1. Let _staticExtraInitializers_ be a new empty List.
1. Let _metadataParent_ be ? Get(_constructorParent_, @@metadata).
1. If _metadataParent_ is *undefined*, let _metadataParent_ be %Object.prototype%.
1. If _metadataParent_ is *undefined*, let _metadataParent_ be *null*.
1. Let _metadataObj_ be OrdinaryObjectCreate(_metadataParent_).
1. For each element _e_ of _staticElements_, do
1. If _e_ is a ClassElementDefinition Record and _e_.[[Kind]] is not ~field~, then
Expand Down

0 comments on commit c8f04d7

Please sign in to comment.