how to pull last element from array code example
Example: javascript get last element of array pull
var fruits = ["Banana", "Orange", "Apple", "Mango"];
fruits.pop();
var fruits = ["Banana", "Orange", "Apple", "Mango"];
fruits.pop();