JavaScript: slice() method ~> Array