删除数组元素

var index = arr.indexOf("a");
arr.splice(index,1);
//删除数组元素

 

posted @ 2018-11-19 17:20  杨不凡  阅读(163)  评论(0编辑  收藏  举报