SmartStorage/node_modules/gopd
hongchao 483dc0e1ed app加密去除 2025-06-23 17:01:27 +08:00
..
.github 接口调试退料接收 2023-12-24 13:23:39 +08:00
test 领料审批二级确认按钮 2024-12-02 17:23:01 +08:00
.eslintrc 接口调试退料接收 2023-12-24 13:23:39 +08:00
CHANGELOG.md 领料审批二级确认按钮 2024-12-02 17:23:01 +08:00
LICENSE 接口调试退料接收 2023-12-24 13:23:39 +08:00
README.md 接口调试退料接收 2023-12-24 13:23:39 +08:00
index.js 领料审批二级确认按钮 2024-12-02 17:23:01 +08:00
package.json app加密去除 2025-06-23 17:01:27 +08:00

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