Files
SingBox-Gopanel/frontend/admin/node_modules/hasown
CN-JS-HuiBai db7f1ba82f
Some checks failed
build / build (api, amd64, linux) (push) Failing after -51s
build / build (api, arm64, linux) (push) Failing after -52s
build / build (api.exe, amd64, windows) (push) Failing after -51s
使用VUE重构项目
2026-04-20 00:19:11 +08:00
..
2026-04-20 00:19:11 +08:00
2026-04-20 00:19:11 +08:00
2026-04-20 00:19:11 +08:00
2026-04-20 00:19:11 +08:00
2026-04-20 00:19:11 +08:00
2026-04-20 00:19:11 +08:00
2026-04-20 00:19:11 +08:00
2026-04-20 00:19:11 +08:00
2026-04-20 00:19:11 +08:00
2026-04-20 00:19:11 +08:00

hasown Version Badge

github actions coverage License Downloads

npm badge

A robust, ES3 compatible, "has own property" predicate.

Example

const assert = require('assert');
const hasOwn = require('hasown');

assert.equal(hasOwn({}, 'toString'), false);
assert.equal(hasOwn([], 'length'), true);
assert.equal(hasOwn({ a: 42 }, 'a'), true);

Tests

Simply clone the repo, npm install, and run npm test