---
hide_title: false
hide_table_of_contents: false
pagination_next: null
pagination_prev: null
---
# Object.getPrototypeOf()

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

## Syntax

```js
Object.getPrototypeOf(obj)
```

### Parameters

- `obj`
  - : The object whose prototype is to be returned.

### Return value

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