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