Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
function simpleMerge (baseObj, extensionObj){
return Object.keys(extensionObj).reduce(function (baseObj, propertyKey) {
baseObj[propertyKey] = extensionObj[propertyKey];
return baseObj;
}, baseObj);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment