数组方法pop() push() unshift() shift() 的作用?

Push()尾部添加

pop()尾部删除

Unshift()头部添加

shift()头部删除

posted @ 2020-10-03 18:59  睡不醒的小韩  阅读(239)  评论(0编辑  收藏  举报