we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "js remove all objects from array where value"
Ismael
30 Aug 2016
1for (var i = myArray.length - 1; i >= 0; --i) {
2    if (myArray[i].field == "money") {
3        myArray.splice(i,1);
4    }
5}
6