Submitted by xeophin on 21. May 2010 - 12:32
Since I have a hard time keeping push(), pop(), shift() and unshift() apart, here’s a little cheat sheet I whipped up:
push()
pop()
shift()
unshift()