Reflect.getPrototypeOf()
Reflect.getPrototypeOf() is a JavaScript method in the Reflect category. Returns the prototype. The syntax is Reflect.getPrototypeOf(target). A typical example: Reflect.getPrototypeOf({}) === Object.prototype. A close sibling is Reflect.get(), which gets a property. A close sibling is Reflect.set(), which sets a property. A close sibling is Reflect.has(), which like the in operator. A close sibling is Reflect.isExtensible(), which checks if target is extensible. More about this category: Reflect API for meta-programming. Related Reflect methods: Reflect.get(), Reflect.set(), Reflect.has(), Reflect.isExtensible(), Reflect.preventExtensions(), Reflect.getOwnPropertyDescriptor(), Reflect.defineProperty(), Reflect.setPrototypeOf(). This page is part of the free JS Reference documentation covering 1027+ methods, each with syntax, parameters, return values, examples, and common pitfalls. You can try Reflect.getPrototypeOf() immediately in the JavaScript playground, look up unfamiliar terms in the glossary, or return to the JS Reference homepage.