Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

find object and remove in array

//remove object with id = 1 in an array
_.remove(array, (e) => {
	return e.id == 1
})
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #find #object #remove #array
ADD COMMENT
Topic
Name
2+8 =