minify
minify copied to clipboard
Javascript variable names are not minified
If I start with this code for example:
function foo(bar){
return bar + 1;
}
This code gets minified to:
function foo(bar){return bar+1}
I would expect it to get minified to something like:
function foo(a){return a+1}
Minification is not obfuscation. Changing variable names is a more complicated process and can easily break the code.