📜  填写 JavaScript 代码示例

📅  最后修改于: 2022-03-11 15:02:55.558000             🧑  作者: Mango

代码示例2
fill(val); 
fill(val, start);    //fills array with value of val at index start
fill(val, start, end); //fills array with value of val at index start to index end