Изменение значения диапазона массива JavaScript

arr.fill(value[, start[, end]])
Proud Pygmy