The original array
Rest
...elementN: T[]The arguments to be inserted
The result array
<pre>
const original = ['a', 'b'];
const result = ['a', 'b', 'c', 'd'];
expect(push(original, 'c', 'd')).to.eql(result);
</pre>
Generated using TypeDoc
Pushes the elements onto the end of the array and returns a new array.