00Fjongl / js-extra

A nonstandard guide to reformatting JavaScript code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

js-extra

A nonstandard guide to reformatting JavaScript code. Currently a work-in-progress.

Contents:
Regular expressions
Numerical behavior
Basic minification
Further minification
Site minification
Optimization
Speed comparisons

Note: Minification and optimization styles are specifically structured to align with strict mode.

Strict mode can be enabled by executing "use strict"; or 'use strict';, but not `use strict`;, at the beginning of a script, an HTML event listener attribute, a bookmarklet, or a new function scope.

Enabling strict mode will allow JavaScript interpreters to use more speed optimizations that will improve performance.