- Django后端API服务 - Vue前端界面 - 集成王璞智能分析API - 任务管理和报告生成功能 - Element Plus UI组件 - 响应式布局设计 |
||
|---|---|---|
| .. | ||
| .github | ||
| .eslintrc | ||
| .nycrc | ||
| CHANGELOG.md | ||
| LICENSE | ||
| README.md | ||
| index.d.ts | ||
| index.js | ||
| package.json | ||
| tsconfig.json | ||
README.md
hasown 
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
