3 ms·
new scoping for `var`? Like the block-scoped `let`?
by jasondenizac 14y ago
new scoping for `var`? Like the block-scoped `let`?
- hermanhermitage 14y agoYes. I'd prefer to change the semantics than introduce new keywords. Of course there are two schools of thought - I favour a small language over backwards compatibility. (And interim tools for migration). Where I do favour extensions is for expressiveness or performance reasons.