This repository has been archived on 2024-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
|
var def = require('./_object-dp').f;
|
|
var has = require('./_has');
|
|
var TAG = require('./_wks')('toStringTag');
|
|
|
|
module.exports = function (it, tag, stat) {
|
|
if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });
|
|
};
|