Q. Which method checks if an object has a property directly (not inherited)?

कौन सी विधि यह जांचती है कि किसी वस्तु में सीधे तौर पर कोई संपत्ति है (विरासत में नहीं मिली)?

A
object.hasOwnProperty()
B
object.prototype.hasOwnProperty()
C
object.containsProperty()
D
object.hasProperty()

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