Mono_Youtube_Viewer/bypassV/node_modules/hasown
2024-11-11 13:58:26 +05:30
..
.github adding program source folder for plainV and bypassV 2024-11-11 13:58:26 +05:30
.eslintrc adding program source folder for plainV and bypassV 2024-11-11 13:58:26 +05:30
.nycrc adding program source folder for plainV and bypassV 2024-11-11 13:58:26 +05:30
CHANGELOG.md adding program source folder for plainV and bypassV 2024-11-11 13:58:26 +05:30
index.d.ts adding program source folder for plainV and bypassV 2024-11-11 13:58:26 +05:30
index.js adding program source folder for plainV and bypassV 2024-11-11 13:58:26 +05:30
LICENSE adding program source folder for plainV and bypassV 2024-11-11 13:58:26 +05:30
package.json adding program source folder for plainV and bypassV 2024-11-11 13:58:26 +05:30
README.md adding program source folder for plainV and bypassV 2024-11-11 13:58:26 +05:30
tsconfig.json adding program source folder for plainV and bypassV 2024-11-11 13:58:26 +05:30

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