descriptors
Like Object.getOwnPropertyDescriptor
, but goes along the prototype chain and gets the descriptors for all properties.
-- Usage
const descriptors = /* { a: { value: 'a', writable: true, enumerable: true, configurable: true }, b: { value: 'a', writable: true, enumerable: true, configurable: true } }*/