方法总结

arr.splice(index,1) 方法  根据数组 删除数组中的一个元素   穿0 代表不删除

 findIndex() 方法 通过元素 返回下标

posted @ 2021-08-12 21:08  k凯阳  阅读(13)  评论(0)    收藏  举报