populate.js (177B)
1 // populates missing values 2 module.exports = function(dst, src) { 3 4 Object.keys(src).forEach(function(prop) 5 { 6 dst[prop] = dst[prop] || src[prop]; 7 }); 8 9 return dst; 10 };
twitst4tztwitter statistics web application | |
Log | Files | Refs | README | LICENSE |