Retrieve all own PropertyDescriptors from an object, which could be used by Object.create() or Object.defineProperties().
Demo
Specification
Status in Chromium
Enabled by default (tracking bug) in:
- Chrome for desktop release 54
- Chrome for Android release 54
Consensus & Standardization
After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.
- Shipped/Shipping
- Shipped/Shipping
- Shipped/Shipping
- No signals
Owner
Search tags
es6, es7, esnext, getOwnPropertyDescriptor, js, typescript, lodash,Last updated on 2020-11-09