删除数组最后一项的方法

1.arr.pop() 2.arr.length-- 3.arr.splice(arr.length-1)  
相关文章
相关标签/搜索