January 2020
Intermediate to advanced
548 pages
13h 36m
English
To detect whether an object is an instance of a constructor, we can simply use the instanceof operator:
const component = new Component();component instanceof Component;
Read now
Unlock full access