Public
Edited
Oct 3, 2023
Insert cell
Insert cell
mod = import("https://cdn.jsdelivr.net/npm/quickjs-emscripten@0.23.0/+esm")
Insert cell
{
let result;
await mod.getQuickJS().then((QuickJS) => {
result = QuickJS.evalCode("1 + 1", {
shouldInterrupt: mod.shouldInterruptAfterDeadline(Date.now() + 1000),
memoryLimitBytes: 1024 * 1024
});
});
return result;
}
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