function cellToLatLng(h3Index) {
    const latLng = C._malloc(SZ_LATLNG);
    const [lower, upper] = h3IndexToSplitLong(h3Index);
    try {
        throwIfError(H3.cellToLatLng(lower, upper, latLng));
        return readLatLng(latLng);
    } finally {
        C._free(latLng);
    }
}
Get the lat,lon center of a given hexagon
@static
@param  {H3IndexInput} h3Index  H3 index
@return {CoordPair}             Point as a [lat, lng] pair
@throws {H3Error}               If input is invalid