As per documentation of Array.prototype.concat
:
Returns a new array comprised of this array joined with other array(s) and/or value(s).
Which means it does not modify the object it is applied to.
Change to:
allCities = allCities.concat(cities[c]);