Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

javascript remove last element from array

var colors = ["red","blue","green"];
colors.pop();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #remove #element #array
ADD COMMENT
Topic
Name
8+2 =