linwenling
2023-03-30 cd45fec42d8f471cf7bbd06f293f8325e818249b
1
2
3
4
5
6
7
8
9
10
// populates missing values
module.exports = function(dst, src) {
 
  Object.keys(src).forEach(function(prop)
  {
    dst[prop] = dst[prop] || src[prop];
  });
 
  return dst;
};