Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes, create the variable as a function argument.


While that does allow you to use a locally scoped variable (even one that shadows an outer variable), it's still not explicit scoping.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: