Common JavaScript Errors:
splice, don't delete

The problem

The recommendation

Want to master all the JavaScript gotchas?