// getPlace.geometry.location.lat is a function // you need to call it to get its value let lat = getPlace.geometry.location.lat();