Which method removes the last element from an array and returns that element? code example
Example: javascript remove last element from array
var colors = ["red","blue","green"];
colors.pop();
var colors = ["red","blue","green"];
colors.pop();