Sham for Object.getPrototypeOf
npm install get-prototype-of-x href="https://travis-ci.org/Xotic750/get-prototype-of-x"
title="Travis status"> src="https://travis-ci.org/Xotic750/get-prototype-of-x.svg?branch=master"
alt="Travis status" height="18">
href="https://david-dm.org/Xotic750/get-prototype-of-x"
title="Dependency status"> alt="Dependency status" height="18"/>
href="https://david-dm.org/Xotic750/get-prototype-of-x?type=dev"
title="devDependency status"> alt="devDependency status" height="18"/>
href="https://badge.fury.io/js/get-prototype-of-x"
title="npm version"> alt="npm version" height="18">
href="https://www.jsdelivr.com/package/npm/get-prototype-of-x"
title="jsDelivr hits"> alt="jsDelivr hits" height="18">
href="https://bettercodehub.com/results/Xotic750/get-prototype-of-x"
title="bettercodehub score"> alt="bettercodehub score" height="18">
href="https://coveralls.io/github/Xotic750/get-prototype-of-x?branch=master"
title="Coverage Status"> alt="Coverage Status" height="18">
Sham for Object.getPrototypeOf
This method returns the prototype (i.e. the value of the internal [[Prototype]] property)
of the specified object.
Kind: Exported member
Returns: Object - The prototype of the given object. If there are no inherited properties, null is returned.
| Param | Type | Description |
| ----- | --------------- | --------------------------------------------- |
| obj | \* | The object whose prototype is to be returned. |
Example
``js
import getPrototypeOf from 'get-prototype-of-x';
console.log(getPrototypeOf('foo')); // String.prototype
``