Closed eivindfjeldstad closed 10 years ago
Since support for __proto__ is unreliable, and since v8 apparently does not support it anymore, maybe doing something like this
__proto__
if (Object.prototype[prop]) continue; obj[prop] = val;
would be a better solution. We can also get rid of a lot of polyfills. What do you think?
Since support for
__proto__
is unreliable, and since v8 apparently does not support it anymore, maybe doing something like thiswould be a better solution. We can also get rid of a lot of polyfills. What do you think?