https://github.com/mishoo/UglifyJS
Revision b49230ab8d717d91710d8c383c79ded77c78a39e authored by Dan Wolff on 11 November 2012, 13:53:34 UTC, committed by Dan Wolff on 11 November 2012, 13:53:34 UTC
In some places this can save one byte in whitespace, e.g. after return.
Example:

function f(arg) {
        // return""+arg - no space between return and ""
        return arg.toString();
}
1 parent 78856a3
History
Tip revision: b49230ab8d717d91710d8c383c79ded77c78a39e authored by Dan Wolff on 11 November 2012, 13:53:34 UTC
convert x.toString() to ""+x instead of x+""
Tip revision: b49230a
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-- 712 bytes

README.md

back to top