diff --git a/spec.html b/spec.html index eb186a1a55a..6d7bf36cc48 100644 --- a/spec.html +++ b/spec.html @@ -18764,11 +18764,11 @@

Runtime Semantics: Evaluation

PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList 1. Let _expr_ be the |ParenthesizedExpression| that is covered by |CoverParenthesizedExpressionAndArrowParameterList|. - 1. Return Completion(Evaluation of _expr_). + 1. Return ? Evaluation of _expr_. ParenthesizedExpression : `(` Expression `)` - 1. Return Completion(Evaluation of |Expression|). This may be of type Reference. + 1. Return ? Evaluation of |Expression|. This may be of type Reference.

This algorithm does not apply GetValue to Evaluation of |Expression|. The principal motivation for this is so that operators such as `delete` and `typeof` may be applied to parenthesized expressions.

@@ -21016,7 +21016,7 @@

Runtime Semantics: Evaluation

HoistableDeclaration : FunctionDeclaration - 1. Return Completion(Evaluation of |FunctionDeclaration|). + 1. Return ? Evaluation of |FunctionDeclaration|. BreakableStatement : @@ -21190,7 +21190,7 @@

Runtime Semantics: Evaluation

BindingList : BindingList `,` LexicalBinding 1. Let _next_ be ? Evaluation of |BindingList|. - 1. Return Completion(Evaluation of |LexicalBinding|). + 1. Return ? Evaluation of |LexicalBinding|. LexicalBinding : BindingIdentifier @@ -21252,7 +21252,7 @@

Runtime Semantics: Evaluation

VariableDeclarationList : VariableDeclarationList `,` VariableDeclaration 1. Let _next_ be ? Evaluation of |VariableDeclarationList|. - 1. Return Completion(Evaluation of |VariableDeclaration|). + 1. Return ? Evaluation of |VariableDeclaration|. VariableDeclaration : BindingIdentifier @@ -22638,7 +22638,7 @@

Runtime Semantics: Evaluation

CaseClause : `case` Expression `:` StatementList - 1. Return Completion(Evaluation of |StatementList|). + 1. Return ? Evaluation of |StatementList|. DefaultClause : `default` `:` @@ -22646,7 +22646,7 @@

Runtime Semantics: Evaluation

DefaultClause : `default` `:` StatementList - 1. Return Completion(Evaluation of |StatementList|). + 1. Return ? Evaluation of |StatementList|. @@ -22744,7 +22744,7 @@

LabelledItem : FunctionDeclaration - 1. Return Completion(Evaluation of |FunctionDeclaration|). + 1. Return ? Evaluation of |FunctionDeclaration|. Statement : @@ -22762,7 +22762,7 @@

DebuggerStatement - 1. Return Completion(Evaluation of |Statement|). + 1. Return ? Evaluation of |Statement|.

The only two productions of |Statement| which have special semantics for LabelledEvaluation are |BreakableStatement| and |LabelledStatement|.

@@ -22857,7 +22857,7 @@

Catch : `catch` Block - 1. Return Completion(Evaluation of |Block|). + 1. Return ? Evaluation of |Block|.

No matter how control leaves the |Block| the LexicalEnvironment is always restored to its former state.

@@ -23318,7 +23318,7 @@

FunctionBody : FunctionStatementList 1. Perform ? FunctionDeclarationInstantiation(_functionObject_, _argumentsList_). - 1. Return Completion(Evaluation of |FunctionStatementList|). + 1. Return ? Evaluation of |FunctionStatementList|. @@ -23501,7 +23501,7 @@

ConciseBody : ExpressionBody 1. Perform ? FunctionDeclarationInstantiation(_functionObject_, _argumentsList_). - 1. Return Completion(Evaluation of |ExpressionBody|). + 1. Return ? Evaluation of |ExpressionBody|. @@ -24703,7 +24703,7 @@

ClassStaticBlockBody : ClassStaticBlockStatementList 1. Perform ? FunctionDeclarationInstantiation(_functionObject_, « »). - 1. Return Completion(Evaluation of |ClassStaticBlockStatementList|). + 1. Return ? Evaluation of |ClassStaticBlockStatementList|. @@ -28453,15 +28453,15 @@

Runtime Semantics: Evaluation

ExportDeclaration : `export` VariableStatement - 1. Return Completion(Evaluation of |VariableStatement|). + 1. Return ? Evaluation of |VariableStatement|. ExportDeclaration : `export` Declaration - 1. Return Completion(Evaluation of |Declaration|). + 1. Return ? Evaluation of |Declaration|. ExportDeclaration : `export` `default` HoistableDeclaration - 1. Return Completion(Evaluation of |HoistableDeclaration|). + 1. Return ? Evaluation of |HoistableDeclaration|. ExportDeclaration : `export` `default` ClassDeclaration