ryanemax c30f18a9e0 feat: face feat68 model 3 kuukautta sitten
..
.github c30f18a9e0 feat: face feat68 model 3 kuukautta sitten
.eslintrc c30f18a9e0 feat: face feat68 model 3 kuukautta sitten
.nycrc c30f18a9e0 feat: face feat68 model 3 kuukautta sitten
CHANGELOG.md c30f18a9e0 feat: face feat68 model 3 kuukautta sitten
LICENSE c30f18a9e0 feat: face feat68 model 3 kuukautta sitten
README.md c30f18a9e0 feat: face feat68 model 3 kuukautta sitten
index.d.ts c30f18a9e0 feat: face feat68 model 3 kuukautta sitten
index.js c30f18a9e0 feat: face feat68 model 3 kuukautta sitten
package.json c30f18a9e0 feat: face feat68 model 3 kuukautta sitten
tsconfig.json c30f18a9e0 feat: face feat68 model 3 kuukautta sitten

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