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
#650 fixed issues w/ destructuring assignments in declarations. However, these forms
[...a,]=b;[,x, ...y,]=0;// and[...{a=0},]=0;
should all throw with Uncaught SyntaxError: Rest element must be last element.
The issue is w/ transformDestructuring which tries to take a SpreadElement and transform it into a RestElement.
#650 fixed issues w/ destructuring assignments in declarations. However, these forms
should all throw with
Uncaught SyntaxError: Rest element must be last element
.The issue is w/ transformDestructuring which tries to take a
SpreadElement
and transform it into aRestElement
.I'd like to take the tack suggested in #650 (comment)
The text was updated successfully, but these errors were encountered: