We're looking for a person or people to help audit MDN to find places we could speed up. Is this you or someone you know? Check out the RFP: https://mzl.la/2IHcMiE

Object.getPrototypeOf Redirect 1


The Object.getPrototypeOf() method returns the prototype (i.e. the internal [[Prototype]]) of the specified object.




The object whose prototype is to be returned.


Throws a TypeError exception if the object parameter isn't an Object.


Specification Status Comment
ECMAScript 5.1 (ECMA-262)
The definition of 'Object.getPrototypeOf' in that specification.
Standard Initial definition.
ECMAScript 6 (ECMA-262)
The definition of 'Object.getProtoypeOf' in that specification.

Browser compatibility

Feature Firefox (Gecko) Chrome Internet Explorer Opera Safari
Basic support 3.5 5 9 12.10 (maybe earlier) 5
Feature Firefox Mobile (Gecko) Android IE Mobile Opera Mobile Safari Mobile
Basic support ? ? ? ? ?

Based on Kangax's compat table.

Opera-specific notes

  • Even though older Opera versions don't support Object.getPrototypeOf() yet, Opera supports the non-standard __proto__ property since Opera 10.50.

See also

Document Tags and Contributors

 Contributors to this page: Sheppy
 Last updated by: Sheppy,