JS ⟩ value ⟩ type ⟩ type name
typeof operator
baseTypeName()
typeName() - refined version of typeof.
custom type name - how to define a custom type name for a class.
Symbol.toStringTagarrow-up-right is accessed internally by the Object.prototype.toString()arrow-up-right method.
Object.prototype.toString()
typeofarrow-up-right ⟩
real-world usagearrow-up-right
custom method that gets a more specific typearrow-up-right ⭐️
Object.prototype.toString()arrow-up-right
Symbol.toStringTagarrow-up-right ⭐️
instanceofarrow-up-right
typeName()
Last updated 3 years ago