智慧水务管理系统 - 精河县供水工程综合管理平台
bot_dev1 85df71fc28 feat: 实现供水运营专题大屏BI可视化 il y a 1 semaine
..
.github feat: 实现供水运营专题大屏BI可视化 il y a 1 semaine
test feat: 实现供水运营专题大屏BI可视化 il y a 1 semaine
.eslintrc feat: 实现供水运营专题大屏BI可视化 il y a 1 semaine
CHANGELOG.md feat: 实现供水运营专题大屏BI可视化 il y a 1 semaine
LICENSE feat: 实现供水运营专题大屏BI可视化 il y a 1 semaine
README.md feat: 实现供水运营专题大屏BI可视化 il y a 1 semaine
gOPD.d.ts feat: 实现供水运营专题大屏BI可视化 il y a 1 semaine
gOPD.js feat: 实现供水运营专题大屏BI可视化 il y a 1 semaine
index.d.ts feat: 实现供水运营专题大屏BI可视化 il y a 1 semaine
index.js feat: 实现供水运营专题大屏BI可视化 il y a 1 semaine
package.json feat: 实现供水运营专题大屏BI可视化 il y a 1 semaine
tsconfig.json feat: 实现供水运营专题大屏BI可视化 il y a 1 semaine

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