WQQ 232186a4aa 销售展示平台 před 2 týdny
..
.github 232186a4aa 销售展示平台 před 2 týdny
.eslintrc 232186a4aa 销售展示平台 před 2 týdny
.nycrc 232186a4aa 销售展示平台 před 2 týdny
CHANGELOG.md 232186a4aa 销售展示平台 před 2 týdny
LICENSE 232186a4aa 销售展示平台 před 2 týdny
README.md 232186a4aa 销售展示平台 před 2 týdny
index.d.ts 232186a4aa 销售展示平台 před 2 týdny
index.js 232186a4aa 销售展示平台 před 2 týdny
package.json 232186a4aa 销售展示平台 před 2 týdny
tsconfig.json 232186a4aa 销售展示平台 před 2 týdny

README.md

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