basant307/AI_Governance_Project
048
1# has-property-descriptors <sup>[![Version Badge][npm-version-svg]][package-url]</sup>2 3[![github actions][actions-image]][actions-url]4[![coverage][codecov-image]][codecov-url]5[![dependency status][deps-svg]][deps-url]6[![dev dependency status][dev-deps-svg]][dev-deps-url]7[![License][license-image]][license-url]8[![Downloads][downloads-image]][downloads-url]9 10[![npm badge][npm-badge-png]][package-url]11 12Does the environment have full property descriptor support? Handles IE 8's broken defineProperty/gOPD.13 14## Example15 16```js17var hasPropertyDescriptors = require('has-property-descriptors');18var assert = require('assert');19 20assert.equal(hasPropertyDescriptors(), true); // will be `false` in IE 6-8, and ES5 engines21 22// Arrays can not have their length `[[Defined]]` in some engines23assert.equal(hasPropertyDescriptors.hasArrayLengthDefineBug(), false); // will be `true` in Firefox 4-22, and node v0.624```25 26## Tests27Simply clone the repo, `npm install`, and run `npm test`28 29[package-url]: https://npmjs.org/package/has-property-descriptors30[npm-version-svg]: https://versionbadg.es/inspect-js/has-property-descriptors.svg31[deps-svg]: https://david-dm.org/inspect-js/has-property-descriptors.svg32[deps-url]: https://david-dm.org/inspect-js/has-property-descriptors33[dev-deps-svg]: https://david-dm.org/inspect-js/has-property-descriptors/dev-status.svg34[dev-deps-url]: https://david-dm.org/inspect-js/has-property-descriptors#info=devDependencies35[npm-badge-png]: https://nodei.co/npm/has-property-descriptors.png?downloads=true&stars=true36[license-image]: https://img.shields.io/npm/l/has-property-descriptors.svg37[license-url]: LICENSE38[downloads-image]: https://img.shields.io/npm/dm/has-property-descriptors.svg39[downloads-url]: https://npm-stat.com/charts.html?package=has-property-descriptors40[codecov-image]: https://codecov.io/gh/inspect-js/has-property-descriptors/branch/main/graphs/badge.svg41[codecov-url]: https://app.codecov.io/gh/inspect-js/has-property-descriptors/42[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/has-property-descriptors43[actions-url]: https://github.com/inspect-js/has-property-descriptors/actions44 