Javascript Array Slice Example | Array.prototype.slice()

Javascript Array Slice Example | Array.prototype.slice() Tutorial. The slice()  method returns a shallow copy of a portion of an array into a new array object selected from beginning to end.