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

@rafde

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.

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