ID if the first operation in this compound operation.
ID of the array where to insert elements. In theory arr is
not necessary as it is possible to find the arr just using the
after property, however to efficiently be able to find arr just
by after at runtime all operations would need to be indexed and
also they each would need to store a pointer to array type, which
would require additional dozens of bytes of RAM for each array
insert operation.
ID of the element after which to insert elements.
The elements to insert.
ReadonlydataThe elements to insert.
ReadonlyidID if the first operation in this compound operation.
ReadonlyobjID of the array where to insert elements. In theory arr is
not necessary as it is possible to find the arr just using the
after property, however to efficiently be able to find arr just
by after at runtime all operations would need to be indexed and
also they each would need to store a pointer to array type, which
would require additional dozens of bytes of RAM for each array
insert operation.
ReadonlyrefID of the element after which to insert elements.
User friendly name of the operation.
Some operations, such as array and string insert/delete operations are compound a single operation instance effectively represents multiple operations (one per character or array element).
This method returns the effective number of operations.
Operation which inserts elements into an array.