Public
Edited
May 11, 2023
Insert cell
Insert cell
idb = import('idb-keyval')
Insert cell
mutable time = 0
Insert cell
_ = require("lodash")
Insert cell
{
const content = "1234567890-=qwertyuiop[]asdfghjkl;zxcvbnm,./".repeat(1000);
idb.set("hello", void 0);
}
Insert cell
idb.get("hello").then((s) => s.length)
Insert cell
lf = require("localforage")
Insert cell
lf.setItem("a", "a")
Insert cell
lf.getItem("a")
Insert cell
new Promise((res) =>
setTimeout(() => {
res(123);
}, 10)
)
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more