💾custom type name

JSvaluetype ⟩ custom type name

class MyClass {
    // ⭐️ custom type name
    get [Symbol.toStringTag]() { return 'MyClass' }
}

typeName(new MyClass())      // "MyClass"

👉 see:typeName()

Last updated