题解 | #新数组#
新数组
https://www.nowcoder.com/practice/bee781a51bc944bbad20f3c2ca798890
const _delete = (array, index) => {
// 补全代码
return array.filter((item) => item !== array[index]);
};
新数组
https://www.nowcoder.com/practice/bee781a51bc944bbad20f3c2ca798890
const _delete = (array, index) => {
// 补全代码
return array.filter((item) => item !== array[index]);
};
相关推荐