Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to remove item from array javascript

var array = ["Item", "Item", "Delete me!", "Item"]

array.splice(2,1) // array is now ["Item","Item","Item"]
Source by bytearcher.com #
 
PREVIOUS NEXT
Tagged: #remove #item #array #javascript
ADD COMMENT
Topic
Name
8+8 =