📅  最后修改于: 2022-03-11 14:55:16.582000             🧑  作者: Mango
cities
.filter(city => city.population < 3000000)
.sort((c1, c2) => c1.population - c2.population)
.map(city => console.log(city.name + ':' + city.population));