Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to remove last element of array in javascript

let numbers = [1, 2, 3];
numbers.pop();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #element #array #javascript
ADD COMMENT
Topic
Name
5+1 =