SyntaxFix
Write A Post
Hire A Developer
Questions
Here is the simple lodash function with array and deleting it with the index number.
index_tobe_delete = 1 fruit = [{a: "apple"}, {b: "banana"}, {c: "choco"}] _.filter(fruit, (value, key)=> { return (key !== index_tobe_delete) })