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
As you can see from the output, the initializer for a is wrapped in parenthesis, which causes b = b[1] to not be part of the var declaration, thus, b is never defined.
Side question: what is the reasoning behind doing the destructoring this way instead of similar to how traceur does it with a temporary?
Test case:
Partial output:
As you can see from the output, the initializer for a is wrapped in parenthesis, which causes
b = b[1]
to not be part of thevar
declaration, thus,b
is never defined.Side question: what is the reasoning behind doing the destructoring this way instead of similar to how traceur does it with a temporary?
The text was updated successfully, but these errors were encountered: