Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

remove element from array lodash

var arr = [1, 2, 3, 3, 4, 5];
_.remove(arr, function(e) {
    return e === 3;
});
console.log(arr);
 
PREVIOUS NEXT
Tagged: #remove #element #array #lodash
ADD COMMENT
Topic
Name
4+3 =