Skip to content

JavaScript

Laura Harker edited this page Feb 27, 2020 · 7 revisions

JavaScript supported by Closure Compiler

By default, Closure compiler supports JavaScript as specified in Ecma-262, edition 10 (ECMAScript 2019).

Support for ECMAScript 2020 features is in progress.

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

Using the command-line options --language_in, the compiler can be switched to accept any version of ECMAScript down to Ecma-262, edition 3 (ECMAScript 3) (PDF). See the flags page for a full list of supported --language_in values.

Clone this wiki locally