[Question] Wiki examples
Opened this issue · 0 comments
rafde commented
I was looking at https://github.com/jed/140bytes/wiki/Byte-saving-techniques and the majority of examples on what is byte saving is what something like Uglify should be doing.
Other examples like
setInterval('console.log("z")',100) // after
is a definite no since that's an example of implicit eval
call
function(a,b){b=1;...} // after
is also not good since V8 doesn't like that and it de-optimized code
https://github.com/vhf/v8-bailout-reasons provides good desc of potential issues.
I am just making sure that people who are new to JS don't take these examples and uses them thinking they are doing a good thing.