ExamVeda
Login
Home
This question belongs to Javascript Caching And Debugging
Caching and Debugging
?

If we have an object r and want to know if it is a Range object, we can write:

Answer & Solution
Correct Answer: Option D
The r instanceof Range returns true if r inherits from Range.prototype. The instanceof operatory does not actually check whether r was initialized by the Range constructor.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.