Optional Curly Braces in JavaScript

Bergi a.d.bergi at web.de
Sun Nov 3 20:47:19 UTC 2019


> Note that significant whitespace greatly minimizes the yields of minification

Why would it? Nothing would prevent a minifier from changing significant
whitespace into braced blocks - just like today, they omit semicolons
where possible and remove braces around single-statement blocks.

kind regards,

More information about the es-discuss mailing list