Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 859 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 859 Bytes

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.