filter 高效一行代码
const _delete = (array,index) => { // 补全代码 if (index < 0) return array; return array.filter((v, i) => i != index); }
const _delete = (array,index) => { // 补全代码 if (index < 0) return array; return array.filter((v, i) => i != index); }