1 | var redefine = require('../internals/redefine');
|
2 | var toString = require('../internals/object-to-string');
|
3 |
|
4 | var ObjectPrototype = Object.prototype;
|
5 |
|
6 | // `Object.prototype.toString` method
|
7 | // https://tc39.github.io/ecma262/#sec-object.prototype.tostring
|
8 | if (toString !== ObjectPrototype.toString) {
|
9 | redefine(ObjectPrototype, 'toString', toString, { unsafe: true });
|
10 | }
|