method Int16Array.copyWithin
Private
Int16Array.copyWithin(
target: number,
start: number,
end?: number,
): this

Returns the this object after copying a section of the array identified by start and end to the same array starting at position target

Parameters

target: number

If target is negative, it is treated as length+target where length is the length of the array.

start: number

If start is negative, it is treated as length+start. If end is negative, it is treated as length+end.

optional
end: number

If not specified, length of the this object is used as its default value.

Return Type

this