import { BetterMap } from "https://deno.land/x/bettermap@v1.3.0/mod.ts";
Return the nth key of the map.
const map = new BetterMap<string, number>("People");
map.set("Doraemon", 10);
map.set("Dora", 28);
console.log(map.keyAt(-1)); // Dora
import { BetterMap } from "https://deno.land/x/bettermap@v1.3.0/mod.ts";
Return the nth key of the map.
const map = new BetterMap<string, number>("People");
map.set("Doraemon", 10);
map.set("Dora", 28);
console.log(map.keyAt(-1)); // Dora