https://github.com/mishoo/UglifyJS
Revision 57ce5bd9e085546a5c1cb8dd4a3ea71ab6c56f26 authored by Alex Lam S.L on 26 March 2017, 17:30:21 UTC, committed by GitHub on 26 March 2017, 17:30:21 UTC
Process variable definitions with or without assigned values against:
- `arguments`
- named function arguments
- multiple definitions within same scope

Essentially demote variable declarations with no value assignments.

Also fixed invalid use of `AST_VarDef` over `arguments` - should use a member of `AST_SymbolDeclaration` instead.
1 parent 861a79a
History
Tip revision: 57ce5bd9e085546a5c1cb8dd4a3ea71ab6c56f26 authored by Alex Lam S.L on 26 March 2017, 17:30:21 UTC
handle overlapped variable definitions (#1691)
Tip revision: 57ce5bd
File Mode Size
.github
bin
lib
test
tools
.gitattributes -rw-r--r-- 20 bytes
.gitignore -rw-r--r-- 35 bytes
.travis.yml -rw-r--r-- 181 bytes
LICENSE -rw-r--r-- 1.3 KB
README.md -rw-r--r-- 40.5 KB
appveyor.yml -rw-r--r-- 350 bytes
package.json -rw-r--r-- 1.2 KB

README.md

back to top