📜  javascript 从数组中删除最后一个元素 - Javascript 代码示例
📅  最后修改于: 2022-03-11 15:02:43.255000             🧑  作者: Mango
代码示例5
array.pop(); //returns popped element
//example
var fruits = ["Banana", "Orange", "Apple", "Mango"];
fruits.pop();