Why create new object? for slice method? is anti patter for performance.

Use Array.prototype instead of create new array object.