1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-23 19:23:18 +00:00
musix-oss/node_modules/core-js/modules/es.object.to-string.js

11 lines
367 B
JavaScript
Raw Normal View History

2019-10-10 13:43:04 +00:00
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 });
}