The results returned from the geocode-method of the Javascript-Geocoder is already translated to be used with the Javascript-API(the linked documentation is for the Geocoding-Webservice, not for the Maps-Javascript-API).
geometry.location
is not a plain object, it's a google.maps.LatLng
you must use the methods lat()
and lng()
of geometry.location
to retrieve latitude and longitude.
Specification of GeocoderGeometry
In your case that would mean using it like this:
lat = results[0].geometry.location.lat();
etc.