https://github.com/mishoo/UglifyJS
Revision 0d7d4918eb6fb73c3cf9863479b3e66d38fad6df authored by Alex Lam S.L on 26 January 2017, 11:14:18 UTC, committed by Richard van Velzen on 26 January 2017, 11:14:18 UTC
- gated by `unsafe`
- replaces previous optimisation specific to String.length
- "123"[0] => 1
- [1, 2, 3][0] => 1
- [1, 2, 3].length => 3
- does not apply to objects with overridden prototype functions
1 parent 4828484
History
Tip revision: 0d7d4918eb6fb73c3cf9863479b3e66d38fad6df authored by Alex Lam S.L on 26 January 2017, 11:14:18 UTC
augment evaluate to extract within objects (#1425)
Tip revision: 0d7d491
File Mode Size
bin
lib
test
tools
.gitignore -rw-r--r-- 35 bytes
.travis.yml -rw-r--r-- 150 bytes
LICENSE -rw-r--r-- 1.3 KB
README.md -rw-r--r-- 38.6 KB
appveyor.yml -rw-r--r-- 350 bytes
package.json -rw-r--r-- 1.3 KB

README.md

back to top