Skip to content

JavaScript

Tyler Breisacher edited this page Dec 10, 2015 · 7 revisions

JavaScript supported by Closure Compiler

By default, Closure compiler supports JavaScript as specified in Ecma-262, edition 3 (PDF).

TODO(tbreisacher): Update this top line after the next compiler release.

Here are some pages that we find useful for understanding the language:

Using the command-line options "--language_in" the compiler can be switch to accept Ecma-262 version 5 or version 5 strict or ECMAScript 6 (strict or non-strict).

Clone this wiki locally