remove an item from the end of an array code example Example: javascript remove last element from array var colors = ["red","blue","green"]; colors.pop();