I have this array of objects (around 100) in JS and all I need to do is to remove objects with value of "Number of drops" less than 4, but I'm really struggling with the removal of the objects that don't fit the criteria. The array looks like this:
[
{
Domain: 'devonsfinest.co.uk',
'Number of drops': 2,
'Number of changes': 6,
'Period in years': 4,
'Parked before': 1,
'Detailed history link': 'https://completedns.com/dns-history/?domain=devonsfinest.co.uk'
},
{
Domain: 'mattresses-uk.co.uk',
'Number of drops': 2,
'Number of changes': 4,
'Period in years': 4,
'Parked before': 0,
'Detailed history link': 'https://completedns.com/dns-history/?domain=mattresses-uk.co.uk'
},
{
Domain: 'ukauctionguides.co.uk',
'Number of drops': 4,
'Number of changes': 13,
'Period in years': 4,
'Parked before': 1,
'Detailed history link': 'https://completedns.com/dns-history/?domain=ukauctionguides.co.uk'
}
]
Thank you in advance!