diff --git a/spec.html b/spec.html index 9fc89c25e36..f03f6bb5dde 100644 --- a/spec.html +++ b/spec.html @@ -15445,7 +15445,7 @@
In certain contexts, |ObjectLiteral| is used as a cover grammar for a more restricted secondary grammar. The |CoverInitializedName| production is necessary to fully cover these secondary grammars. However, use of this production results in an early Syntax Error in normal contexts where an actual |ObjectLiteral| is expected.
-This production exists so that |ObjectLiteral| can serve as a cover grammar for |ObjectAssignmentPattern|. It cannot occur in an actual object initializer.
The List returned by PropertyNameList does not include property names defined using a |ComputedPropertyName|.
+An alternative semantics for this production is given in
The Object prototype object:
`Object.prototype.__proto__` is an accessor property with attributes { [[Enumerable]]: *false*, [[Configurable]]: *true* }. The [[Get]] and [[Set]] attributes are defined as follows:
+ +The value of the [[Get]] attribute is a built-in function that requires no arguments. It performs the following steps when called:
+The value of the [[Set]] attribute is a built-in function that takes an argument _proto_. It performs the following steps when called:
+When the `__defineGetter__` method is called with arguments _P_ and _getter_, the following steps are taken:
+When the `__defineSetter__` method is called with arguments _P_ and _setter_, the following steps are taken:
+When the `__lookupGetter__` method is called with argument _P_, the following steps are taken:
+When the `__lookupSetter__` method is called with argument _P_, the following steps are taken:
+The *"length"* property of the `parse` function is *2*𝔽.
Valid JSON text is a subset of the ECMAScript |PrimaryExpression| syntax. Step
However, because
However, because
`Object.prototype.__proto__` is an accessor property with attributes { [[Enumerable]]: *false*, [[Configurable]]: *true* }. The [[Get]] and [[Set]] attributes are defined as follows:
- -The value of the [[Get]] attribute is a built-in function that requires no arguments. It performs the following steps when called:
-The value of the [[Set]] attribute is a built-in function that takes an argument _proto_. It performs the following steps when called:
-When the `__defineGetter__` method is called with arguments _P_ and _getter_, the following steps are taken:
-When the `__defineSetter__` method is called with arguments _P_ and _setter_, the following steps are taken:
-When the `__lookupGetter__` method is called with argument _P_, the following steps are taken:
-When the `__lookupSetter__` method is called with argument _P_, the following steps are taken:
-The following Early Error rule is added to those in
The List returned by PropertyNameList does not include string literal property names defined as using a |ComputedPropertyName|.
-In
-
- is replaced with the following definition:
Prior to ECMAScript 2015, the specification of |LabelledStatement| did not allow for the association of a statement label with a |FunctionDeclaration|. However, a labelled |FunctionDeclaration| was an allowable extension for non-strict code and most browser-hosted ECMAScript implementations supported that extension. In ECMAScript 2015 and later, the grammar production for |LabelledStatement| permits use of |FunctionDeclaration| as a |LabelledItem| but