Home > rc-js-util > ATypedArrayTuple > fill
Returns the this object after filling the section identified by start and end with value
Signature:
fill(_value: number, _start?: number, _end?: number): this;
| Parameter | Type | Description |
|---|---|---|
| _value | number | value to fill array section with |
| _start | number | (Optional) 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. |
| _end | number | (Optional) index to stop filling the array at. If end is negative, it is treated as length+end. |
Returns:
this