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

[Question] Wiki examples #7

Description

@rafde

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions