diff --git a/spec.html b/spec.html index 6d7bf36cc48..8c859570403 100644 --- a/spec.html +++ b/spec.html @@ -19069,7 +19069,7 @@

Runtime Semantics: Evaluation

1. Let _expr_ be the |CallMemberExpression| that is covered by |CoverCallExpressionAndAsyncArrowHead|. 1. Let _memberExpr_ be the |MemberExpression| of _expr_. 1. Let _arguments_ be the |Arguments| of _expr_. - 1. Let _ref_ be Completion(Evaluation of _memberExpr_). + 1. Let _ref_ be ? Evaluation of _memberExpr_. 1. Let _func_ be ? GetValue(_ref_). 1. If _ref_ is a Reference Record, IsPropertyReference(_ref_) is *false*, and _ref_.[[ReferencedName]] is *"eval"*, then 1. If SameValue(_func_, %eval%) is *true*, then @@ -19086,7 +19086,7 @@

Runtime Semantics: Evaluation

A |CallExpression| evaluation that executes step is a direct eval.

CallExpression : CallExpression Arguments - 1. Let _ref_ be Completion(Evaluation of |CallExpression|). + 1. Let _ref_ be ? Evaluation of |CallExpression|. 1. Let _func_ be ? GetValue(_ref_). 1. Let _thisCall_ be this |CallExpression|. 1. Let _tailCall_ be IsInTailPosition(_thisCall_). @@ -19282,7 +19282,7 @@

Runtime Semantics: Evaluation

MemberExpression OptionalChain - 1. Let _baseReference_ be Completion(Evaluation of |MemberExpression|). + 1. Let _baseReference_ be ? Evaluation of |MemberExpression|. 1. Let _baseValue_ be ? GetValue(_baseReference_). 1. If _baseValue_ is *undefined* or *null*, then 1. Return *undefined*. @@ -19293,7 +19293,7 @@

Runtime Semantics: Evaluation

CallExpression OptionalChain - 1. Let _baseReference_ be Completion(Evaluation of |CallExpression|). + 1. Let _baseReference_ be ? Evaluation of |CallExpression|. 1. Let _baseValue_ be ? GetValue(_baseReference_). 1. If _baseValue_ is *undefined* or *null*, then 1. Return *undefined*. @@ -19304,7 +19304,7 @@

Runtime Semantics: Evaluation

OptionalExpression OptionalChain - 1. Let _baseReference_ be Completion(Evaluation of |OptionalExpression|). + 1. Let _baseReference_ be ? Evaluation of |OptionalExpression|. 1. Let _baseValue_ be ? GetValue(_baseReference_). 1. If _baseValue_ is *undefined* or *null*, then 1. Return *undefined*. @@ -19408,7 +19408,7 @@

Tagged Templates

Runtime Semantics: Evaluation

MemberExpression : MemberExpression TemplateLiteral - 1. Let _tagRef_ be Completion(Evaluation of |MemberExpression|). + 1. Let _tagRef_ be ? Evaluation of |MemberExpression|. 1. Let _tagFunc_ be ? GetValue(_tagRef_). 1. Let _thisCall_ be this |MemberExpression|. 1. Let _tailCall_ be IsInTailPosition(_thisCall_). @@ -19416,7 +19416,7 @@

Runtime Semantics: Evaluation

CallExpression : CallExpression TemplateLiteral - 1. Let _tagRef_ be Completion(Evaluation of |CallExpression|). + 1. Let _tagRef_ be ? Evaluation of |CallExpression|. 1. Let _tagFunc_ be ? GetValue(_tagRef_). 1. Let _thisCall_ be this |CallExpression|. 1. Let _tailCall_ be IsInTailPosition(_thisCall_). @@ -19543,7 +19543,7 @@

Postfix Increment Operator

Runtime Semantics: Evaluation

UpdateExpression : LeftHandSideExpression `++` - 1. Let _lhs_ be Completion(Evaluation of |LeftHandSideExpression|). + 1. Let _lhs_ be ? Evaluation of |LeftHandSideExpression|. 1. Let _oldValue_ be ? ToNumeric(? GetValue(_lhs_)). 1. If Type(_oldValue_) is Number, then 1. Let _newValue_ be Number::add(_oldValue_, *1*𝔽). @@ -19563,7 +19563,7 @@

Postfix Decrement Operator

Runtime Semantics: Evaluation

UpdateExpression : LeftHandSideExpression `--` - 1. Let _lhs_ be Completion(Evaluation of |LeftHandSideExpression|). + 1. Let _lhs_ be ? Evaluation of |LeftHandSideExpression|. 1. Let _oldValue_ be ? ToNumeric(? GetValue(_lhs_)). 1. If Type(_oldValue_) is Number, then 1. Let _newValue_ be Number::subtract(_oldValue_, *1*𝔽). @@ -19583,7 +19583,7 @@

Prefix Increment Operator

Runtime Semantics: Evaluation

UpdateExpression : `++` UnaryExpression - 1. Let _expr_ be Completion(Evaluation of |UnaryExpression|). + 1. Let _expr_ be ? Evaluation of |UnaryExpression|. 1. Let _oldValue_ be ? ToNumeric(? GetValue(_expr_)). 1. If Type(_oldValue_) is Number, then 1. Let _newValue_ be Number::add(_oldValue_, *1*𝔽). @@ -19603,7 +19603,7 @@

Prefix Decrement Operator

Runtime Semantics: Evaluation

UpdateExpression : `--` UnaryExpression - 1. Let _expr_ be Completion(Evaluation of |UnaryExpression|). + 1. Let _expr_ be ? Evaluation of |UnaryExpression|. 1. Let _oldValue_ be ? ToNumeric(? GetValue(_expr_)). 1. If Type(_oldValue_) is Number, then 1. Let _newValue_ be Number::subtract(_oldValue_, *1*𝔽). @@ -20426,7 +20426,7 @@

Runtime Semantics: Evaluation

AssignmentExpression : LeftHandSideExpression AssignmentOperator AssignmentExpression - 1. Let _lref_ be Completion(Evaluation of |LeftHandSideExpression|). + 1. Let _lref_ be ? Evaluation of |LeftHandSideExpression|. 1. [id="step-assignmentexpression-evaluation-compound-getvalue"] Let _lval_ be ? GetValue(_lref_). 1. Let _rref_ be Completion(Evaluation of |AssignmentExpression|). 1. Let _rval_ be ? GetValue(_rref_). @@ -20456,7 +20456,7 @@

Runtime Semantics: Evaluation

AssignmentExpression : LeftHandSideExpression `&&=` AssignmentExpression - 1. Let _lref_ be Completion(Evaluation of |LeftHandSideExpression|). + 1. Let _lref_ be ? Evaluation of |LeftHandSideExpression|. 1. [id="step-assignmentexpression-evaluation-lgcl-and-getvalue"] Let _lval_ be ? GetValue(_lref_). 1. Let _lbool_ be ToBoolean(_lval_). 1. If _lbool_ is *false*, return _lval_. @@ -20470,7 +20470,7 @@

Runtime Semantics: Evaluation

AssignmentExpression : LeftHandSideExpression `||=` AssignmentExpression - 1. Let _lref_ be Completion(Evaluation of |LeftHandSideExpression|). + 1. Let _lref_ be ? Evaluation of |LeftHandSideExpression|. 1. [id="step-assignmentexpression-evaluation-lgcl-or-getvalue"] Let _lval_ be ? GetValue(_lref_). 1. Let _lbool_ be ToBoolean(_lval_). 1. If _lbool_ is *true*, return _lval_. @@ -20484,7 +20484,7 @@

Runtime Semantics: Evaluation

AssignmentExpression : LeftHandSideExpression `??=` AssignmentExpression - 1. Let _lref_ be Completion(Evaluation of |LeftHandSideExpression|). + 1. Let _lref_ be ? Evaluation of |LeftHandSideExpression|. 1. [id="step-assignmentexpression-evaluation-lgcl-nullish-getvalue"] Let _lval_ be ? GetValue(_lref_). 1. If _lval_ is neither *undefined* nor *null*, return _lval_. 1. If IsAnonymousFunctionDefinition(|AssignmentExpression|) is *true* and IsIdentifierRef of |LeftHandSideExpression| is *true*, then