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