Open rwdevlead opened 2 years ago
When minifying the following code, variables of the same name are used in the transformation that leads to bugs in the JavaScript minimized file.
for(let accts of data.accounts)
for(let accts of data.accounts) minimizes into for(let t of t) Both the variable and the array property end up with the same name.
for(let t of t)
for(let accts of data.accounts) minimizes into for(let a of b) The variable and property should have different names
for(let a of b)
Installed product versions
Description
When minifying the following code, variables of the same name are used in the transformation that leads to bugs in the JavaScript minimized file.
Steps to recreate
for(let accts of data.accounts)
Current behavior
for(let accts of data.accounts)
minimizes intofor(let t of t)
Both the variable and the array property end up with the same name.Expected behavior
for(let accts of data.accounts)
minimizes intofor(let a of b)
The variable and property should have different names