Currently, I am utilizing the following function:
remove: function (arr, property, num) {
for (var i in arr) {
if (arr[i][property] == num)
arr.splice(i, 1);
}
},
Although this function is functional, now that my application has incorporated the _lodash library and is compatible with modern IE8 and above browsers, I am curious if there exists a more efficient way to achieve the same functionality using _lodash or alternative browser native methods.