JavaScript Object.getPrototypeOf() MethodLast Updated : 17 Mar 2025 The Object.getPrototypeOf() method of JavaScript returns the prototype (i.e. the value of the internal [[Prototype]] property) of the specified object. Syntax:Parameterobj: It is an object whose prototype is to be returned. Return value:This method returns the prototype of the given object. If there are no inherited properties, this method will return null. Browser Support:
Example 1Output: true Example 2Output: true false Example 3Output: true true Next TopicJavaScript Objects |
We request you to subscribe our newsletter for upcoming updates.

We deliver comprehensive tutorials, interview question-answers, MCQs, study materials on leading programming languages and web technologies like Data Science, MEAN/MERN full stack development, Python, Java, C++, C, HTML, React, Angular, PHP and much more to support your learning and career growth.
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India