js 数组删除元素

es6:
arr.splice(arr.findIndex((item) => item == student),1);
posted @ 2022-08-06 14:52  jqynr  阅读(32)  评论(0)    收藏  举报