Spec-compliant shim for `Object.getOwnPropertyDescriptors` that works in ES5.
-
Updated
Mar 20, 2024 - JavaScript
Spec-compliant shim for `Object.getOwnPropertyDescriptors` that works in ES5.
Does the environment have full property descriptor support? Handles IE 8's broken defineProperty/gOPD.
`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation.
Sham for ES6 Object.getOwnPropertyDescriptor
Add a description, image, and links to the getownpropertydescriptor topic page so that developers can more easily learn about it.
To associate your repository with the getownpropertydescriptor topic, visit your repo's landing page and select "manage topics."