Recursive get prototype of object
npm install object-getprototypesof> Recursive get prototype of object.
> The Object.getPrototypeOf+.
```
$ npm install --save object-getprototypesof
`js
const getPrototypesOf = require('object-getprototypesof');
const a = {};
const b = {};
const c = {};
b.__proto__ = a;
Object.setProtoypeOf(c, b);
var arr = getPrototypesOf(c);
// [{}, {}, {}];
``
MIT