ECMAScript compatibility checker for Closure Compiler
Run kangax's ES compat-table tests for Google Closure Compiler.
Also see ECMAScript compatibility tracking issue · Issue #2899 · google/closure-compiler
Setup
$ git clone https://github.com/teppeis/closure-compiler-es-compat-table.git
$ git submodule --init update
$ npm install
Update tests
Import new tests from compat-table
$ ./update-tests.js
Run tests and update result
$ ./runjs es6 # use current installed google-closure-compiler
$ ./runjs es6/v20180402 # use google-closure-compiler@20180402
$ ./runjs es6/v20180402/syntax
$ ./runjs es6/v20180402/syntax/rest_parameters
$ ./runjs es6/v20180402/syntax/rest_parameters/basic_functionality
latest
Update $ ./update-latest.sh v20180402