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
This returns 1 (properly):
a = {} [a.b] = [1, 2, 3] console.log a.b
This is generated code:
(function() { var a; a = {}; a.b = [1, 2, 3][0]; console.log(a.b); }).call(this);
This returns undefined:
a = {} [(a).b] = [1, 2, 3] console.log a.b
And generated code:
(function() { var a, _base; a = {}; // _base.b? Shouldn't it be 0? (_base = a).b = [1, 2, 3][_base.b]; console.log(a.b); }).call(this);
It seems to work in REPL, but it doesn't in other places.
The text was updated successfully, but these errors were encountered:
[a.b] = [1, 2, 3]
Sorry, something went wrong.
That first example looks correct to me, but the second one was certainly a bug. Should be fixed now.
ac39899
Adding a test for #2613
0b1d4d3
No branches or pull requests
This returns 1 (properly):
This is generated code:
This returns undefined:
And generated code:
It seems to work in REPL, but it doesn't in other places.
The text was updated successfully, but these errors were encountered: