Returns a new array with the new given element inserted at the specified index.
element
index
The array to insert the element in.
The target index of the new element.
The element to insert into the array.
Returns a new array with the new given
elementinserted at the specifiedindex.