Published
Edited
Mar 22, 2019
Insert cell
Insert cell
Insert cell
function mergeObjects(dataObject, propsObject) {
return _.mapValues(propsObject, (val, propKey) => (val === null) ? dataObject[propKey] : val);
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell

(() => {
const a={};
const b={};
a["prop"] = b.prop;
return [a, b, a.prop, b.prop];
})()
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