Formatting Object
by Tom M
JavaScript
let data = [
{
country: 'China',
population: 1409517397,
},
{
country: 'India',
population: 1339180127,
},
{
country: 'USA',
population: 324459463,
},
{
country: 'Indonesia',
population: 263991379,
}
]
let filtered = data.filter(function(x) {
return x.population > 500000000;
})
co