I have this array object:
0:
id: "123123"
cost: 100
quantity: 2
1:
id: "112233"
cost: 100
quantity: 5
2:
id: "112233"
cost: 100
quantity: 0
3:
id: "126233"
cost: 100
quantity: 0
What I want is to scan the whole object array and delete the ones with 0 quantity value. How do I do this with javascript?