Fills given range of array elements with given value.
arr.fill(value[, start[, end]])
- Value:- Value to be filled.
- Start:- Start index (included) and its defaults value is 0.
- End:- End index (excluded) and its default index is this.length.
It return the modified array.
Here in 2nd column int values is the version of the corresponding feature browser.
> Array [1, 2, 0, 0]
> Array [1, 2, 9, 9]
> Array [6, 6, 6, 6]