toJSON
The toJSON() method of the GeolocationCoordinates interface returns a JSON-serializable plain object representing the GeolocationCoordinates object.
The toJSON() method of the GeolocationCoordinates interface returns a JSON-serializable plain object representing the GeolocationCoordinates object.