/* */ 
var $ = require("./$"),
    TAG = require("./$.wks")('toStringTag'),
    toString = {}.toString;
function cof(it) {
  return toString.call(it).slice(8, -1);
}
cof.classof = function(it) {
  var O,
      T;
  return it == undefined ? it === undefined ? 'Undefined' : 'Null' : typeof(T = (O = Object(it))[TAG]) == 'string' ? T : cof(O);
};
cof.set = function(it, tag, stat) {
  if (it && !$.has(it = stat ? it : it.prototype, TAG))
    $.hide(it, TAG, tag);
};
module.exports = cof;
