const colors = ["Blue", "Green", "Red", "Yellow"]; colors.pop(); console.log(colors); // ["Blue", "Green", "Red"]