https://github.com/mishoo/UglifyJS
Revision 1a5fd3e05294a74900c6265f364f233e3f05eba0 authored by Mihai Bazon on 07 November 2012, 16:57:51 UTC, committed by Mihai Bazon on 08 November 2012, 09:43:14 UTC
    for(...; x; ...) if (y) break; → for(...; x&&!y; ...);

similarly for `while` and some combinations (i.e. the `break` appears in the
`else` clause, etc.)
1 parent 5a7e54c
History
Tip revision: 1a5fd3e05294a74900c6265f364f233e3f05eba0 authored by Mihai Bazon on 07 November 2012, 16:57:51 UTC
optimization for if/break as first statement in a loop body
Tip revision: 1a5fd3e
File Mode Size
bin
lib
test
tools
.gitignore -rw-r--r-- 19 bytes
README.md -rw-r--r-- 21.4 KB
package.json -rw-r--r-- 701 bytes

README.md

back to top