javascript remove last element of the array code example Example: how to remove last element of array in javascript let numbers = [1, 2, 3]; numbers.pop();