UNPKG

pondjs

Version:

A timeseries library build on top of immutable.js

11 lines (8 loc) 177 B
// populates missing values module.exports = function(dst, src) { Object.keys(src).forEach(function(prop) { dst[prop] = dst[prop] || src[prop]; }); return dst; };