closure-compiler icon indicating copy to clipboard operation
closure-compiler copied to clipboard

BUG in Whitespace only for online compiler

Open jplevene opened this issue 5 months ago • 0 comments

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

jplevene avatar Jan 09 '24 23:01 jplevene