题解 | #创建数组#
创建数组
https://www.nowcoder.com/practice/04a6204cd4cf42dd8983c000110ada7e
const _createArray = (number) => { // 补全代码 let array = new Array(number); array.fill(number); return array; }
创建数组
https://www.nowcoder.com/practice/04a6204cd4cf42dd8983c000110ada7e
const _createArray = (number) => { // 补全代码 let array = new Array(number); array.fill(number); return array; }
相关推荐