javascript pop from object code example
Example: js array pop
var array = ['A', 'B', 'C'];
// removes and returns last element
lastElement = array.pop();
var array = ['A', 'B', 'C'];
// removes and returns last element
lastElement = array.pop();