Dirk Alders 97486731b5 Dashboard 2 - EG-West | 4 个月前 | |
---|---|---|
.. | ||
.github | 4 个月前 | |
test | 4 个月前 | |
.eslintrc | 4 个月前 | |
CHANGELOG.md | 4 个月前 | |
LICENSE | 4 个月前 | |
README.md | 4 个月前 | |
index.d.ts | 4 个月前 | |
index.js | 4 个月前 | |
package.json | 4 个月前 | |
tsconfig.json | 4 个月前 |
Does this environment have the ability to set the Prototype of an object on creation with __proto__
?
var hasProto = require('has-proto');
var assert = require('assert');
assert.equal(typeof hasProto(), 'boolean');
Simply clone the repo, npm install
, and run npm test