From 6d7aa1b57f4b3390000d939fdc1920046b81d938 Mon Sep 17 00:00:00 2001 From: Michael Ficarra Date: Tue, 30 Jan 2024 16:27:40 -0800 Subject: [PATCH] Editorial: avoid multiple declarations of an alias (#3275) --- spec.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec.html b/spec.html index 1faa30de6f..10fd3f8698 100644 --- a/spec.html +++ b/spec.html @@ -21001,11 +21001,11 @@

1. If |DestructuringAssignmentTarget| is neither an |ObjectLiteral| nor an |ArrayLiteral|, then 1. Let _lref_ be ? Evaluation of |DestructuringAssignmentTarget|. + 1. Let _value_ be *undefined*. 1. If _iteratorRecord_.[[Done]] is *false*, then 1. Let _next_ be ? IteratorStepValue(_iteratorRecord_). 1. If _next_ is not ~done~, then - 1. Let _value_ be _next_. - 1. If _iteratorRecord_.[[Done]] is *true*, let _value_ be *undefined*. + 1. Set _value_ to _next_. 1. If |Initializer| is present and _value_ is *undefined*, then 1. If IsAnonymousFunctionDefinition(|Initializer|) is *true* and IsIdentifierRef of |DestructuringAssignmentTarget| is *true*, then 1. Let _v_ be ? NamedEvaluation of |Initializer| with argument _lref_.[[ReferencedName]].