1const heroes = ["Batman", "Superman", "Hulk"];
2const lastHero = heroes.pop(); // Returns last elment of the Array
3// lastHero = "Hulk"1var heroes = ["Batman", "Superman", "Hulk"];
2var lastHero = heroes.pop(); // Returns last elment of the Array
3// lastHero = "Hulk"