jira-ai-fixer/frontend/node_modules/hasown
Ricel Leite 6b020d19a7 Add pre-built frontend 2026-02-18 20:05:41 -03:00
..
.github Add pre-built frontend 2026-02-18 20:05:41 -03:00
.eslintrc Add pre-built frontend 2026-02-18 20:05:41 -03:00
.nycrc Add pre-built frontend 2026-02-18 20:05:41 -03:00
CHANGELOG.md Add pre-built frontend 2026-02-18 20:05:41 -03:00
LICENSE Add pre-built frontend 2026-02-18 20:05:41 -03:00
README.md Add pre-built frontend 2026-02-18 20:05:41 -03:00
index.d.ts Add pre-built frontend 2026-02-18 20:05:41 -03:00
index.js Add pre-built frontend 2026-02-18 20:05:41 -03:00
package.json Add pre-built frontend 2026-02-18 20:05:41 -03:00
tsconfig.json Add pre-built frontend 2026-02-18 20:05:41 -03:00

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