why create new object? for slice method? it's anti patter for performance.

Use Array.prototype instead of create new array object.