1.0.2 • Published 3 months ago

has-property-descriptors v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

has-property-descriptors Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Does the environment have full property descriptor support? Handles IE 8's broken defineProperty/gOPD.

Example

var hasPropertyDescriptors = require('has-property-descriptors');
var assert = require('assert');

assert.equal(hasPropertyDescriptors(), true); // will be `false` in IE 6-8, and ES5 engines

// Arrays can not have their length `[[Defined]]` in some engines
assert.equal(hasPropertyDescriptors.hasArrayLengthDefineBug(), false); // will be `true` in Firefox 4-22, and node v0.6

Tests

Simply clone the repo, npm install, and run npm test

es-abstractdefine-propertiesarchetype-library@dinert/utilseasy-select-rnreact-native-printer-brotherscbmis-ai-toolboxreact-native-shekhar-bridge-testasterjscogoportutilslevibestliblevibestlib2levilibtest19levilibtest24levilibtest25levilibtest26levilibtest27levilibtest28levilibtest29@oiti/documentoscopy-react-nativequoc-testreact-native-slider-kf@prodam/prodam-typescclibyarntest@saaspe/componentsexpand-react-bridgeopea-bootstraapluminos-ui-coresklif-ui-kitsklif-api@everything-registry/sub-chunk-1828iqra-calculatorjawwy-sdkjawwy_gamification_release@314oner_npm/universal-components-library@deepakorg/test@deepak757/testreact-native-sphereuisphereuijawwy_libraryreact-native-credit-card-pkgp149-tablesklif-uimachinebeemrcapsreact-native-jawwy_samplecode-msi-simple_calculator123zs89cli-number-guessingkny63-atm-machinekshahmeer10_atmatm_process@uf3sindh/simple_cli_calculatorhmmmmd12-cli-number-guessinghmd12-cli-number-guessingpizza-teapucuk5000project123bas_simple_calculatorproject04-currency-converter4projekudinpro-af302-number-guessing-gameprofb-jsclientproject-wajs-dvpyreswap-sdkqaapio-reecord-mp3qudratic-uiquadratic-sdkpublish-with-riz-cli-number-guessing-gamer89r-simplecalculatorr628b_calculator_project1simply-uisiniwoset-function-lengthset-function-namesgbteamnewerasipalingerlyslip6slip7slip9slip10slip11slip19slip21slip23slip24slip25slip26slip27slip28siralexferguson023siralexferguson03smart_one_connectslebewrn-counter-demorn-check-btnrn-circular-chartrimsha-calculator_project1rn-my-libraryreyhan-projectrn-agora-ios-mrofiq
1.0.2

3 months ago

1.0.1

6 months ago

1.0.0

2 years ago