remove last element from array javascript code example Example: javascript remove last element from array let numbers = [1, 2, 3]; numbers.pop();