Fork me on GitHub

JavaScript Modules

JavaScript Module Harmony Demo

Overview

The latest Canary build of Google Chrome allows you to unlock some new features from ECMAScript Harmony. However, they are disabled by default, so to enable them you have to type about:flags into your address bar, and turn on “Enable Experimental JavaScript” which is found right at the bottom of the page.

Javascript Harmony Chrome

Syntax

Simple Module

Dynamic Module Loading

Remote Module Load