You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. If |DestructuringAssignmentTarget| is neither an |ObjectLiteral| nor an |ArrayLiteral|, then
178
-
1. Let _lref_ be the result of evaluating |DestructuringAssignmentTarget|.
179
-
1. ReturnIfAbrupt(_lref_).
186
+
1. Let _lref_ be the result of evaluating |DestructuringAssignmentTarget|.
187
+
1. ReturnIfAbrupt(_lref_).
180
188
1. Let _restObj_ be ObjectCreate(%ObjectPrototype%).
181
189
1. Let _assignStatus_ be CopyDataProperties(_restObj_, _value_, _excludedNames_).
182
190
1. ReturnIfAbrupt(_assignStatus_).
183
-
1. If |DestructuringAssignmentTarget| is neither an |ObjectLiteral| nor an |ArrayLiteral|, then
184
-
1. Return PutValue(_lref_, _restObj_).
185
-
1. Let _nestedAssignmentPattern_ be the parse of the source text corresponding to |DestructuringAssignmentTarget| using either |AssignmentPattern[?Yield, ?Await]| as the goal symbol, adopting the parameter values from |AssignmentRestProperty|.
186
-
1. Return the result of performing DestructuringAssignmentEvaluation of _nestedAssignmentPattern_ with _restObj_ as the argument.
0 commit comments