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