Sha256: be669d3655ba7e113f23f5e68b3dc0f8cc69aa81f9f1b972484b535b8ee9f49f
Contents?: true
Size: 425 Bytes
Versions: 19
Compression:
Stored size: 425 Bytes
Contents
var defineProperty = require('../internals/object-define-property').f; var has = require('../internals/has'); var wellKnownSymbol = require('../internals/well-known-symbol'); var TO_STRING_TAG = wellKnownSymbol('toStringTag'); module.exports = function (it, TAG, STATIC) { if (it && !has(it = STATIC ? it : it.prototype, TO_STRING_TAG)) { defineProperty(it, TO_STRING_TAG, { configurable: true, value: TAG }); } };
Version data entries
19 entries across 18 versions & 8 rubygems