in lib/h3core.js [1690:1699]
export function getRes0Cells() {
const count = H3.res0CellCount();
const hexagons = C._malloc(SZ_H3INDEX * count);
try {
throwIfError(H3.getRes0Cells(hexagons));
return readArrayOfH3Indexes(hexagons, count);
} finally {
C._free(hexagons);
}
}