Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js remove item array

let originalArray = [1, 2, 3, 4, 5];

let filteredArray = originalArray.filter((value, index) => index !== 2);
Source by javascriptf1.com #
 
PREVIOUS NEXT
Tagged: #js #remove #item #array
ADD COMMENT
Topic
Name
6+6 =