Q. How do you check if an object is in another object's prototype chain?

आप कैसे जांचते हैं कि कोई वस्तु किसी अन्य वस्तु की प्रोटोटाइप श्रृंखला में है या नहीं?

A
Object.hasPrototype()
B
obj instanceof Constructor
C
obj.prototypeOf(Constructor)
D
obj.isPrototype(Constructor)

Explanation

Explanation will be available soon. Please stay tuned.

व्याख्या जल्द ही उपलब्ध होगी। कृपया बने रहें।

Invest in Future Achievers

Your support helps keep Exam Achiever 100% free for students preparing for exams.

Thanks for your support!

Comments

Leave a Comment