2 var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');
3 var classof = require('../internals/classof');
5 // `Object.prototype.toString` method implementation
6 // https://tc39.es/ecma262/#sec-object.prototype.tostring
7 module.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {
8 return '[object ' + classof(this) + ']';