method Int8Array.fill
Private
Int8Array.fill(
value: number,
start?: number,
end?: number,
): this

Changes all array elements from start to end index to a static value and returns the modified array

Parameters

value: number

value to fill array section with

optional
start: number

index to start filling the array at. If start is negative, it is treated as length+start where length is the length of the array.

optional
end: number

index to stop filling the array at. If end is negative, it is treated as length+end.

Return Type

this