Inserts an array into another array, at a provided index
No range checks are done, so an IndexOutOfBounds may occur
the modified array
assert([0, 2].insertElement([1, 1], 1) == [0, 1, 1, 2]); assert([2].insertElement([0, 1], 0) == [0, 1, 2]);
See Implementation
Inserts an array into another array, at a provided index
No range checks are done, so an IndexOutOfBounds may occur