Published
Edited
Mar 16, 2020
1 fork
1 star
Insert cell
md`# Object Spread operator \`{...}\``
Insert cell
a = ({nombre:"Pepe"})
Insert cell
b = ({edad:30})
Insert cell
c = ({ ...a, ...b })
Insert cell
e = ({ a, b })
Insert cell
settings = ({
speed: 30,
posX:0,
posY:10
})
Insert cell
settingsAdvanced = ({
...settings,
posX: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