Files
planilla/api/node_modules/hasown
josedario87 32f2686f14
Some checks failed
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 1s
build-and-deploy / build (push) Successful in 54s
build-and-deploy / deploy (push) Successful in 15s
se supone que volvio
2025-05-30 23:51:22 -06:00
..
2025-05-30 23:51:22 -06:00
2025-05-30 23:51:22 -06:00
2025-05-30 23:51:22 -06:00
2025-05-30 23:51:22 -06:00
2025-05-30 23:51:22 -06:00
2025-05-30 23:51:22 -06:00
2025-05-30 23:51:22 -06:00
2025-05-30 23:51:22 -06:00
2025-05-30 23:51:22 -06:00
2025-05-30 23:51:22 -06: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