houwei ce722c56bc 代码更新 | 2 gadi atpakaļ | |
---|---|---|
.. | ||
src | 2 gadi atpakaļ | |
test | 2 gadi atpakaļ | |
LICENSE-MIT | 2 gadi atpakaļ | |
README.md | 2 gadi atpakaļ | |
package.json | 2 gadi atpakaļ |
Object.prototype.hasOwnProperty.call shortcut
npm install --save has
var has = require('has');
has({}, 'hasOwnProperty'); // false
has(Object.prototype, 'hasOwnProperty'); // true