mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-23 19:23:18 +00:00
11 lines
367 B
JavaScript
11 lines
367 B
JavaScript
|
var redefine = require('../internals/redefine');
|
||
|
var toString = require('../internals/object-to-string');
|
||
|
|
||
|
var ObjectPrototype = Object.prototype;
|
||
|
|
||
|
// `Object.prototype.toString` method
|
||
|
// https://tc39.github.io/ecma262/#sec-object.prototype.tostring
|
||
|
if (toString !== ObjectPrototype.toString) {
|
||
|
redefine(ObjectPrototype, 'toString', toString, { unsafe: true });
|
||
|
}
|