javascript get last element of array pull
snippet in javascript

javascript get last element of array pull

user5166

var fruits = ["Banana", "Orange", "Apple", "Mango"];
fruits.pop();