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