array.pop(); //returns popped element //example var fruits = ["Banana", "Orange", "Apple", "Mango"]; fruits.pop(); // fruits= ["Banana", "Orange", "Apple"];