From c8f04d7d433c6f6d9124a201aa97840463cb9936 Mon Sep 17 00:00:00 2001 From: Chris Hewell Garrett Date: Mon, 1 May 2023 10:22:54 -0400 Subject: [PATCH] Use null instead of Object.prototype as root metadata object prototype --- spec.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec.html b/spec.html index bcc098c4284..9fecf3745d7 100644 --- a/spec.html +++ b/spec.html @@ -25211,7 +25211,7 @@

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