1 | ;
|
2 | var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');
|
3 | var defineBuiltIn = require('../internals/define-built-in');
|
4 | var toString = require('../internals/object-to-string');
|
5 |
|
6 | // `Object.prototype.toString` method
|
7 | // https://tc39.es/ecma262/#sec-object.prototype.tostring
|
8 | if (!TO_STRING_TAG_SUPPORT) {
|
9 | defineBuiltIn(Object.prototype, 'toString', toString, { unsafe: true });
|
10 | }
|