Javascript coding checklist by agentcooper

50a1c1f2651b478f8cb8bff34ad41515?size=52

Use jshint. It is available for all platforms (Textmate, Sublime, etc.). Real-time error highlighting will save you a lot of time.

debugger; statement. Insert it in suspicious places, same as breakpoint, but is not affected by code changes. The killer feature is scope access: use console to output 'this', which will be bound to the scope you're in. More under the cut