1 var def = require('./_object-dp').f
2 , has = require('./_has')
3 , TAG = require('./_wks')('toStringTag');
5 module.exports = function(it, tag, stat){
6 if(it && !has(it = stat ? it : it.prototype, TAG))def(it, TAG, {configurable: true, value: tag});