// entries() available inside a shared storage worklet module
const storage = await this.sharedStorage;
async function logEntries() {
for await (const [key, value] of storage.entries()) {
console.log({ key, value });
}
}WorkletSharedStorage: entries() method / notebook
WorkletSharedStorage: entries() method
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.