UNPKG

adlayer-library

Version:

Adlayer javascript core library

19 lines (18 loc) 331 B
/** * @module utils * @class Utils * @static */ /** * Util method for extend/merge objects * @method merge */ var merge = function(destination,source) { for (var property in source){ if(source.hasOwnProperty(property)){ destination[property] = source[property]; } } return destination; }; exports.merge = merge;