• 使用pop() 旧数组
  • splice(-1,1) 旧数组
  • slice(0,-1) 返回新的数组

reference