diff --git a/index.js b/index.js index 60f7049..909fbef 100644 --- a/index.js +++ b/index.js @@ -23,6 +23,10 @@ function mixinDeep(target, objects) { */ function copy(val, key) { + if (key === '__proto__') { + return; + } + var obj = this[key]; if (isObject(val) && isObject(obj)) { mixinDeep(obj, val);