get-own-property-descriptors-polyfill
A polyfill for
Object.getOwnPropertyDescriptors
which wasn't included in Node.js until v7.0.0.
Installation
npm install get-own-property-descriptors-polyfill --save
Usage
const assert = const getOwnPropertyDescriptors = { return 'hello' } const obj = Object const descriptors = assert