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