Hacker News new | ask | show | jobs
by jakopo87 2063 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?