main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 6 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
371 bytes
|
Rev | Line | |
---|
[79a0317] | 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.