📅  最后修改于: 2022-03-11 15:01:13.912000             🧑  作者: Mango
var heroes = ["Batman", "Superman", "Hulk"];
var lastHero = heroes.pop(); // Returns last elment of the Array
// lastHero = "Hulk"