method Float16Array.fill
#Float16Array.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
#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.
Return Type #
this