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

This is in line with his philosophy to eliminate things that produce little or insignificant value but is a potential source of bugs. In this case variable hoisting.

Of course you don't have to follow all his rules of what are good/bad parts, some of which feel a bit Byzantine at times, but he has a point and usually for a very good reason.

Check out the JsLint Google+ page for his views on more recent additions



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

Search: