ReferenceError: window is not defined
anlexN opened this issue · 7 comments
anlexN commented
anlexN commented
no. it is es2015
MatrixFrog commented
Most users should stick to language_out = ES5 for now. Otherwise you're missing out on many optimizations, and typechecking.
MatrixFrog commented
(But we should still fix this crash)
samthor commented
FYI we've pushed 20170910.0.1, which includes a fix for this issue. PTAL and let us know if it's fixed.
anlexN commented
could you please showcase es2015+ feature supported by closure-compiler-js?
MatrixFrog commented
What kind of showcasing do you have in mind? https://github.com/google/closure-compiler/wiki/ECMAScript6 discusses what we support (though it may be somewhat out of date, I think it's pretty close to accurate)