Skip to content
This repository has been archived by the owner on Jan 15, 2019. It is now read-only.

[Question] Wiki examples #7

Open
rafde opened this issue Feb 1, 2017 · 0 comments
Open

[Question] Wiki examples #7

rafde opened this issue Feb 1, 2017 · 0 comments

Comments

@rafde
Copy link

rafde commented Feb 1, 2017

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant