Common JavaScript Errors:
push your array

The problem

The recommendation

Want to master all the JavaScript gotchas?