Intern — Middle
Filtering cities by population size
livecode
Task condition
Implement a function that receives a numeric population value and returns those cities from the given array whose population exceeds the given number.
const cities = [
{city: 'Kyiv', population: 6_000_000},
{city: 'Tokyo', population: 13_000_000},
{city: 'New York', population: 22_000_000},
{city: 'London', population: 17_000_000}
]