merge.js 180 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 module.exports = function merge(objA, objB) { var result = {}, key for (key in objA) { result[key] = objA[key] } for (key in objB) { result[key] = objB[key] } return result }