pop
Remove an element from the end of an observe array.
list.pop()
pop removes the last element from the array.
import { observe } from "can/everything";
const names = new observe.Array(['Alice', 'Bob']);
console.log(names.pop()); //-> ['Bob']
Returns
{*}:
The element from the end of the Array
Events
pop causes length events to be fired.