closure-compiler
closure-compiler copied to clipboard
BUG in Whitespace only for online compiler
In https://closure-compiler.app, when doing "Whitespace only", the setting:
// @language_out ECMASCRIPT_NEXT
needs to be added otherwise a for(const row of rows)
returns $jscomp
and loads of junk JavaScript code that won't run.
See https://github.com/google/closure-compiler/issues/4130