Skip to content

A nonstandard guide to reformatting JavaScript code.

License

Notifications You must be signed in to change notification settings

00Fjongl/js-extra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.