pop 方法

更新:2007 年 11 月

从数组中移除最后一个元素并将该元素返回。

function pop() : Object

备注

如果该数组为空,则返回 undefined

要求

版本 5.5

应用于:

Array 对象

请参见

参考

push 方法