We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue originally made by @nunocastromartins
a[`${b++}`] **= 1
Input:
a[`${b++}`] **= 1;
produces:
var _a = a; _a["" + b++] = Math.pow(_a["" + b++], 1);
instead of:
var _a = a; var _ref = "" + b++; _a[_ref] = Math.pow(_a[_ref], 1);
Also, is there any reason behind the var _a = a;?
var _a = a;
The text was updated successfully, but these errors were encountered:
Avoid repeating impure (template) literals when desugaring **= (babel…
f4137d8
…#4403)
Avoid repeating impure (template) literals when desugaring **= (#4403) (
f5b5d8f
#4672)
Closed via #4672.
Sorry, something went wrong.
5e56864
…#4403) (babel#4672)
No branches or pull requests
Bug information
Input code
Description
Input:
produces:
instead of:
Also, is there any reason behind the
var _a = a;
?The text was updated successfully, but these errors were encountered: