Y
Hacker News
new
|
ask
|
show
|
jobs
by
yxhuvud
5286 days ago
Yes, create the variable as a function argument.
1 comments
cheald
5286 days ago
While that does allow you to use a locally scoped variable (even one that shadows an outer variable), it's still not explicit scoping.
link