sim0n00ps f1d1272397
Some checks failed
Publish Docker image / Push docker image to registry (push) Failing after 5s
Publish release zip / build (push) Failing after 58s
sdgdfg
2025-05-04 21:22:54 +01:00
..
2025-05-04 21:22:54 +01:00
2025-05-04 21:22:54 +01:00
2025-05-04 21:22:54 +01:00
2025-05-04 21:22:54 +01:00
2025-05-04 21:22:54 +01:00
2025-05-04 21:22:54 +01:00
2025-05-04 21:22:54 +01:00
2025-05-04 21:22:54 +01:00
2025-05-04 21:22:54 +01:00
2025-05-04 21:22:54 +01:00
2025-05-04 21:22:54 +01:00
2025-05-04 21:22:54 +01:00

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