diff --git a/spec.html b/spec.html index 279a84d353..223b839bb0 100644 --- a/spec.html +++ b/spec.html @@ -128,8 +128,17 @@

Conformance

A conforming implementation of ECMAScript must not implement any extension that is listed as a Forbidden Extension in subclause .

A conforming implementation of ECMAScript must not redefine any facilities that are not implementation-defined, implementation-approximated, or host-defined.

A conforming implementation of ECMAScript may choose to implement or not implement Normative Optional subclauses. If any Normative Optional behaviour is implemented, all of the behaviour in the containing Normative Optional clause must be implemented. A Normative Optional clause is denoted in this specification with the words "Normative Optional" in a coloured box, as shown below.

- -

Example Clause Heading

+ +

Example Normative Optional Clause Heading

+

Example clause contents.

+
+

A conforming implementation of ECMAScript must implement Legacy subclauses, unless they are also marked as Normative Optional. All of the language features and behaviours specified within Legacy subclauses have one or more undesirable characteristics. However, their continued usage in existing applications prevents their removal from this specification. These features are not considered part of the core ECMAScript language. Programmers should not use or assume the existence of these features and behaviours when writing new ECMAScript code.

+ +

Example Legacy Clause Heading

+

Example clause contents.

+
+ +

Example Legacy Normative Optional Clause Heading

Example clause contents.

@@ -17735,7 +17744,7 @@

Syntax

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.

- +

Static Semantics: Early Errors

PropertyDefinition : MethodDefinition