Public
Edited
Aug 20, 2020
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
['a', 'b', 'c', 'd'][2.0000]
Insert cell
123n / 50n // This is the rarely-used integer syntax, Safari users will see an error here
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
a = new Set([1,2,3])
Insert cell
foo = (x, y=2, z) => [x,y,z]
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
{
const a = {};
return a.nonexistantProperty;
}
Insert cell
{
const arr = [1, 2, 3];
return arr[7];
}
Insert cell
Insert cell
{
const obj = {}
const functionReference = obj.onVersionUpdate
functionReference();
}
Insert cell
Insert cell
Insert cell
Insert cell
import { compareCode } from '@ballingt/comparecode'
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