Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Which of the following is true about the instanceof operator in JavaScript?
It returns true for all objects;
It cannot be used with classes;
It checks if an object is an instance of a specific class or its parent class;
It only works with primitive data types;
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!