js 数组 删除第一个和最后一个

.shift();   删除第一个

.pop();   删除最后一个

posted @ 2019-09-18 17:16  ExpectoPatronum—S  阅读(46659)  评论(0编辑  收藏  举报