Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
kanbankaren
3mo ago
0 comments
Share
yeah. I hate typing `local` for every variable. I would prefer they introduce some syntactic sugar like `let`(to mean local variable) and `const`(to mean local and constant).
undefined | Better HN
0 comments
default
newest
oldest
otikik
3mo ago
“local” is the same as the “let” that you are describing, isn’t it? Just 2 chars longer.
j
/
k
navigate · click thread line to collapse