instanceof
Theinstanceofoperator tests whether an object has in its prototype chain theprototypeproperty of a constructor.
Like typeof, but for ballers who are working multiple classes and instances.
Theinstanceofoperator tests whether an object has in its prototype chain theprototypeproperty of a constructor.
Like typeof, but for ballers who are working multiple classes and instances.