Everything is an expression

# musicdenotation at gmail.com (11 years ago)
var x = if (condition) a; else b;
var y = {let x = m; let y = n; x+2*y;}

Why does JavaScript don't support these?

# Brendan Eich (11 years ago)

Because "make it look like Java" was the rule, and what you propose will break compatibility with unminified semicolon-free code that would be minified by a syntax-aware minifier to insert semicolons.

I <3 Algol 68 too, but please work on higher priorities.