Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
unknown fe79185e87 ali aslani há 1 ano
..
.github ali aslani há 1 ano
test ali aslani há 1 ano
.eslintrc ali aslani há 1 ano
CHANGELOG.md ali aslani há 1 ano
LICENSE ali aslani há 1 ano
README.md ali aslani há 1 ano
index.js ali aslani há 1 ano
package.json ali aslani há 1 ano

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');
}