I have an array where are objects. Here's one example::
color:"rgb(235, 75, 75)"
id:"6912128558"
img:""
name:"AWP | Dragon Lore (Factory New)"
price:"1852.2"
If I would forEach loop that array and if price >=
with total, then it's going to remove the full object. I hope it makes sense.