Spec-compliant shim for `Object.getOwnPropertyDescriptors` that works in ES5.
-
Updated
Dec 10, 2025 - JavaScript
Spec-compliant shim for `Object.getOwnPropertyDescriptors` that works in ES5.
Return an object's own property descriptors.
Add a description, image, and links to the getownpropertydescriptors topic page so that developers can more easily learn about it.
To associate your repository with the getownpropertydescriptors topic, visit your repo's landing page and select "manage topics."