Last change
on this file since 6a80231 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
371 bytes
|
Line | |
---|
1 | 'use strict';
|
---|
2 | var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');
|
---|
3 | var classof = require('../internals/classof');
|
---|
4 |
|
---|
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) + ']';
|
---|
9 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.