I am using the following function:
remove: function (arr, property, num) {
for (var i in arr) {
if (arr[i][property] == num)
arr.splice(i, 1);
}
},
The function works but now that my application uses the _lodash library and is using all modern IE8 and above browsers I am wondering if there's a more efficient way to accomplish the same functionality using _lodash or some other browser native methods.