Q. How do you set the prototype of an object?

आप किसी ऑब्जेक्ट का प्रोटोटाइप कैसे सेट करते हैं?

A
Object.setPrototypeOf(obj, prototype)
B
obj.proto = prototype
C
Both A and B
D
Object.prototype = prototype

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