Loading the puzzle…
The puzzle IDE is built for a laptop or larger screen. You can read everything here, but selecting code is easier with a mouse and a wider window.
Consider this code, using the built-in memory driver:
import { createStorage } from "unstorage";
import memory from "unstorage/drivers/memory";
const storage = createStorage(); // root mount: a memory driver
await storage.setItem("data:a", "1");
storage.mount("data", memory()); // a second, empty memory driver
await storage.setItem("data:b", "2");
const keys = await storage.getKeys();
Following createStorage and its getKeys method in src/storage.ts, what
is keys? Select one option.
One of the listed options.
Each hint revealed before you solve takes 20 points off this puzzle's score.
Solve this puzzle to see the solution and a full explanation.
Pick one of the options.