Retrieve all own PropertyDescriptors from an object, which could be used by Object.create() or Object.defineProperties().

Demo

Specification

Working draft or equivalent

Status in Chromium

Blink


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.

Owner

Search tags

es6, es7, esnext, getOwnPropertyDescriptor, js, typescript, lodash,

Last updated on 2020-11-09