UNPKG

marko

Version:

UI Components + streaming, async, high performance, HTML templating for Node.js and the browser.

14 lines (12 loc) 295 B
var hasOwnProperty = Object.prototype.hasOwnProperty; /** * Merges object properties */ module.exports = function merge(into, source) { for (var k in source) { if (hasOwnProperty.call(source, k) && !hasOwnProperty.call(into, k)) { into[k] = source[k]; } } return into; };