Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

Object.getPrototypeOf()

2 tags 1 category

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

Return value: The prototype of the given object, which may be null.

Parameters: obj The object whose prototype is to be returned.

obj The object whose prototype is to be returned.

The prototype of the given object, which may be null.

In ES5, it will throw a TypeError exception if the obj parameter isn’t an object. In ES2015, the parameter will be coerced to an Object.

Syntax example: Object.getPrototypeOf(obj)

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…