1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 19:42:38 +02:00
Oinktube/node_modules/hasown
2024-03-07 11:31:51 -03:00
..
.github Update npm and add the jquery mask 2024-03-07 11:31:51 -03:00
.eslintrc Update npm and add the jquery mask 2024-03-07 11:31:51 -03:00
.nycrc Update npm and add the jquery mask 2024-03-07 11:31:51 -03:00
CHANGELOG.md Update npm and add the jquery mask 2024-03-07 11:31:51 -03:00
index.d.ts Update npm and add the jquery mask 2024-03-07 11:31:51 -03:00
index.js Update npm and add the jquery mask 2024-03-07 11:31:51 -03:00
LICENSE Update npm and add the jquery mask 2024-03-07 11:31:51 -03:00
package.json Update npm and add the jquery mask 2024-03-07 11:31:51 -03:00
README.md Update npm and add the jquery mask 2024-03-07 11:31:51 -03:00
tsconfig.json Update npm and add the jquery mask 2024-03-07 11:31:51 -03: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