Y
Hacker News
new
|
ask
|
show
|
jobs
by
jakopo87
1897 days ago
It is already possible:
var
makes a variable function-scoped,
let/const
makes a variable block-scoped. Or are you referring to something else?