🏠 New in Low Baseline Support: Array fill()
September 20, 2016
caniuse · mdn · [spec]([‘https://tc39.es/ecma262/multipage/indexed-collections.html#sec-array.prototype.fill’, ‘https://tc39.es/ecma262/multipage/indexed-collections.html#sec-%25typedarray%25.prototype.fill’])
The fill()
method of arrays and typed arrays sets all or some items of an array to a given a value.