Sha256: 38d9485d3bf825b68561f526884a5992de91d0ce9a7703bf1f73ba314baa2a00

Contents?: true

Size: 474 Bytes

Versions: 12

Compression:

Stored size: 474 Bytes

Contents

'use strict';
var classof = require('../internals/classof');
var wellKnownSymbol = require('../internals/well-known-symbol');

var TO_STRING_TAG = wellKnownSymbol('toStringTag');
var test = {};

test[TO_STRING_TAG] = 'z';

// `Object.prototype.toString` method implementation
// https://tc39.github.io/ecma262/#sec-object.prototype.tostring
module.exports = String(test) !== '[object z]' ? function toString() {
  return '[object ' + classof(this) + ']';
} : test.toString;

Version data entries

12 entries across 12 versions & 4 rubygems

Version Path
disco_app-0.18.0 test/dummy/node_modules/core-js/internals/object-to-string.js
disco_app-0.18.2 test/dummy/node_modules/core-js/internals/object-to-string.js
condenser-0.0.8 lib/condenser/processors/node_modules/core-js-pure/internals/object-to-string.js
jester-data-8.0.0 node_modules/core-js/internals/object-to-string.js
ezii-os-5.2.1 node_modules/core-js/internals/object-to-string.js
ezii-os-2.0.1 node_modules/core-js/internals/object-to-string.js
ezii-os-1.1.0 node_modules/core-js/internals/object-to-string.js
ezii-os-1.0.0 node_modules/core-js/internals/object-to-string.js
condenser-0.0.7 lib/condenser/processors/node_modules/core-js-pure/internals/object-to-string.js
ezii-os-0.0.0.1.0 node_modules/core-js/internals/object-to-string.js
ezii-os-0.0.0.0.1 node_modules/core-js/internals/object-to-string.js
condenser-0.0.5 lib/condenser/processors/node_modules/core-js-pure/internals/object-to-string.js