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
Consider the following code:
var j = "0"; var k = j++; console.log(j); console.log(k); var l = "1"; var m = ++l; console.log(l); console.log(m);
When run under node, the output is:
1 0 2 2
But after normalization, we get:
01 0 11 11
Gotta love JavaScript.
The text was updated successfully, but these errors were encountered:
Nice. The normaliser currently ignores implicit conversions, which is, I believe, what leads to this bug.
It currently transforms ++x into x = x + 1, but this example suggests it should be `x = +x + 1'.
++x
x = x + 1
Sorry, something went wrong.
No branches or pull requests
Consider the following code:
When run under node, the output is:
But after normalization, we get:
Gotta love JavaScript.
The text was updated successfully, but these errors were encountered: