题解 | #新数组#
新数组
https://www.nowcoder.com/practice/bee781a51bc944bbad20f3c2ca798890
const _delete = (array,index) => {
// 补全代码
return array.slice(0, index).concat(array.slice(index+1))
}
新数组
https://www.nowcoder.com/practice/bee781a51bc944bbad20f3c2ca798890
const _delete = (array,index) => {
// 补全代码
return array.slice(0, index).concat(array.slice(index+1))
}
相关推荐