用指定值填充原数组的指定区间。
array.fill(value, start, end)
value
start
0
end
Array:返回原数组本身。
Array
items = [1, 2, 3] result = items.fill(100, 1, 1)