Я думаю, что вы должны сделать что-то вроде этого:
var timeObject = {
getNewYorkLocalTime: 'getTime.php?lat=40.7143528&lan=-74.0059731',
getLondonLocalTime: 'getTime.php?lat=51.5001524&lan=-0.1262362',
getChennaiLocalTime: 'getTime.php?lat=13.060422&lan=80.249583',
getBangaloreLocalTime: 'getTime.php?lat=12.9715987&lan=77.5945627'
}
for (var x in timeObject) {
//use this check to avoid messing up with prototype properties
if (timeObject.hasOwnProperty(x)) {
alert(timeObject[x]);
}
}