htc 7ca38fdcbb 善行少年PC端首次提交(基础版) 2 tygodni temu
..
.github 7ca38fdcbb 善行少年PC端首次提交(基础版) 2 tygodni temu
.eslintrc 7ca38fdcbb 善行少年PC端首次提交(基础版) 2 tygodni temu
.nycrc 7ca38fdcbb 善行少年PC端首次提交(基础版) 2 tygodni temu
CHANGELOG.md 7ca38fdcbb 善行少年PC端首次提交(基础版) 2 tygodni temu
LICENSE 7ca38fdcbb 善行少年PC端首次提交(基础版) 2 tygodni temu
README.md 7ca38fdcbb 善行少年PC端首次提交(基础版) 2 tygodni temu
index.d.ts 7ca38fdcbb 善行少年PC端首次提交(基础版) 2 tygodni temu
index.js 7ca38fdcbb 善行少年PC端首次提交(基础版) 2 tygodni temu
package.json 7ca38fdcbb 善行少年PC端首次提交(基础版) 2 tygodni temu
tsconfig.json 7ca38fdcbb 善行少年PC端首次提交(基础版) 2 tygodni temu

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