Published
Edited
Apr 26, 2019
1 fork
Insert cell
mutable count = 0
Insert cell
foo = {
a; b;
invalidation.then(() => {
mutable count = 0;
});

return function foo() {
mutable count += 1;
// do some work...
return "ok";
};
}
Insert cell
a = foo() + "a"
Insert cell
b = foo() + "b"
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