Pop
methodsRemoves the last item from an array and returns that item. An equivalent of Array.prototype.pop.
The
popmethod raises thechangeevent. Theactionfield of the event argument is set to"remove". Theitemsfield of the event argument is the array that contains the removed item.
Returns:Object
—The item which was removed.