myPlaces = ({
places: [{
name: "ElHatillo",
location: "Caracas",
latlon: [10.407231, "-66.842772"],
country: "Venezuela"
},
{
name: "Brooklyn",
location: "NY",
latlon: [40.674087, "-73.976372"],
country: "USA"
},
{
name: "myHouse",
location: "Cambridge",
latlon: [42.374912, "-71.110040"],
country: "USA"
},
{
name: "laPlaya",
location: "Culebra",
latlon: [18.318060, " -65.227887"],
country: "Puerto Rico"
},
{
name: "myGrandmas",
location: "Campania",
latlon: [40.567090, 15.494710],
country: "Italy"
} ],
topTwo:function () {
return [this.places[0].name.toUpperCase(), this.places[1].name.toUpperCase()]
}
})