pop
can.List.prototype.pop
Remove an element from the end of a List.
list.pop()
push removes an element from the end of a List.
Returns
{*}
the element just popped off the List, or undefined if the List was empty
Remove an element from the end of a List.
push removes an element from the end of a List.
{*}the element just popped off the List, or undefined if the List was empty
popis the opposite action from[can.List.push push]:Events
popcauses change, remove, and length events to be fired if the List is not empty when it is called.See also
pophas its counterpart in push, or you may be looking for unshift and its counterpart shift.