Skip to content

Commit

Permalink
Editorial: remove some "are both" usages (#3330)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelficarra authored and ljharb committed May 23, 2024
1 parent 1babaf8 commit c305c11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -20459,7 +20459,7 @@ <h1>Runtime Semantics: Evaluation</h1>
<emu-alg>
1. If |LeftHandSideExpression| is neither an |ObjectLiteral| nor an |ArrayLiteral|, then
1. Let _lref_ be ? Evaluation of |LeftHandSideExpression|.
1. If IsAnonymousFunctionDefinition(|AssignmentExpression|) and IsIdentifierRef of |LeftHandSideExpression| are both *true*, then
1. If IsAnonymousFunctionDefinition(|AssignmentExpression|) is *true* and IsIdentifierRef of |LeftHandSideExpression| is *true*, then
1. Let _rval_ be ? NamedEvaluation of |AssignmentExpression| with argument _lref_.[[ReferencedName]].
1. Else,
1. Let _rref_ be ? Evaluation of |AssignmentExpression|.
Expand Down Expand Up @@ -20950,7 +20950,7 @@ <h1>
1. Let _lref_ be ? Evaluation of |DestructuringAssignmentTarget|.
1. Let _v_ be ? GetV(_value_, _propertyName_).
1. If |Initializer| is present and _v_ is *undefined*, then
1. If IsAnonymousFunctionDefinition(|Initializer|) and IsIdentifierRef of |DestructuringAssignmentTarget| are both *true*, then
1. If IsAnonymousFunctionDefinition(|Initializer|) is *true* and IsIdentifierRef of |DestructuringAssignmentTarget| is *true*, then
1. Let _rhsValue_ be ? NamedEvaluation of |Initializer| with argument _lref_.[[ReferencedName]].
1. Else,
1. Let _defaultValue_ be ? Evaluation of |Initializer|.
Expand Down

0 comments on commit c305c11

Please sign in to comment.