JavaScript — What Is `Symbol.toStringTag` and How to Use It
You may have seen JavaScript printing [object Object] when casting an object to a string. The [object Object] notation doesn’t give you information about the kind of object. You have to guess what object could cause this printing. This is where Symbol.toStringTag is helpful and this tutorial shows …
Continue Reading