Common JavaScript Errors:
A good return

The problem

The recommendation

Want to master all the JavaScript gotchas?