Object.getOwnPropertyDescriptors

the behavior of value, writable, get, set, configurable and enumerable

Object.getOwnPropertyDescriptors returns all property descriptors of its first argument:

Get hands-on with 1400+ tech skills courses.