Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Javascript remove last element

let arr = [10,20,30,40,50];
arr.pop();
console.log(arr); // => [10,20,30,40]
Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #Javascript #remove #element
ADD COMMENT
Topic
Name
9+3 =