diff --git a/index.js b/index.js index 0ac71be..1aea9d8 100644 --- a/index.js +++ b/index.js @@ -52,7 +52,7 @@ function propertyIsUnsafe(target, key) { } function mergeObject(target, source, options) { - var destination = {} + var destination = Object.create(null); if (options.isMergeableObject(target)) { getKeys(target).forEach(function(key) { destination[key] = cloneUnlessOtherwiseSpecified(target[key], options)