JavaScript: pop() method ~> Array