Performs an efficient array insert operation in the given array. If the index or the array is invalid, it just returns the given array.
Note: Uses the same behavior as Array.splice.
Array.splice
The given array.
The given array to insert into
The index of the array insert operation.
The value to insert in the array at the given index.
index
Generated using TypeDoc
Performs an efficient array insert operation in the given array. If the index or the array is invalid, it just returns the given array.
Note: Uses the same behavior as
Array.splice
.Returns
The given array.