/ student-intifada / node_modules / gopd /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]test/a year ago -  
[TXT]CHANGELOG.mda year ago1.5K 
[   ]LICENSEa year ago1.0K 
[TXT]README.mda year ago1.5K595aea1 more query options + view options [كارل مبارك]
[   ]index.jsa year ago263  
[   ]package.jsona year ago1.8Kafd0ccc remove unused [كارل مبارك]
README.md

gopd Version Badge

github actions coverage License Downloads

npm badge

Object.getOwnPropertyDescriptor, but accounts for IE's broken implementation.

Usage

var gOPD = require('gopd');
var assert = require('assert');

if (gOPD) {
    assert.equal(typeof gOPD, 'function', 'descriptors supported');
    // use gOPD like Object.getOwnPropertyDescriptor here
} else {
    assert.ok(!gOPD, 'descriptors not supported');
}
Apache/2.4.38 (Debian) Server at www.karls.computer Port 80