ansel0926
2022-05-14 82c0e01ab038fa3119208b8bf1fba2e46404c262
1
2
3
4
5
6
7
8
9
10
11
12
13
14
module.exports = function(destination, source) {
  destination = destination || {};
  var value, property;
  if (!source) {
    return destination;
  }
  for (property in source) {
    value = source[property];
    if (value !== undefined) {
      destination[property] = value;
    }
  }
  return destination;
};