baseGetTag

This would return the base string form of an object. If Symbol.toStringTag exists then it is unmasked and then object's toString is returned. If Symbol.toStringTag is its own property, it is reset after unmasking else we will have to delete Symbol.toStringTag that got added as we explicitly unmasked.

Comments

Popular posts from this blog

getTag

baseToNumber

baseToString