Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js remove from array by value

const index = array.indexOf(item);
if (index !== -1) array.splice(index, 1);
Source by addin.my.id #
 
PREVIOUS NEXT
Tagged: #js #remove #array
ADD COMMENT
Topic
Name
9+2 =