Removes all items from the array.
Appends items to the end of the array.
The items to append.
The new array length.
Replaces the item at the given index.
The index of the item to replace.
The new item value.
The written value.
RangeError - When index is not a valid existing array index.
Prepends items to the beginning of the array.
The items to prepend.
The new array length.
Replaces the item at the given index with a value derived from the current item.
The written value.
RangeError - When index is not a valid existing array index.
Mutates an array signal without exposing direct write access to the current snapshot.