Hacker News new | past | comments | ask | show | jobs | submit login

jslint won't stop it if there's a variable (c in this case) in the outer scope -- it's perfectly fine code as far as jslint is concerned. And jslint encourages that declaration style (actually encourages is too weak a word).



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

Search: