Published
Edited
Mar 26, 2022
Insert cell
Insert cell
function tester({how = 'how', does = 'does', thisthing = 'this thing', work='work'}={}) {
// so then these variable names are in the function namespace, cool
return how+' '+does+' '+thisthing+' '+work+'?';
}
Insert cell
tester()
Insert cell
tester({how: 'But what if'})
Insert cell
tester({how: 'But what if', what: '????????'})
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