ea3d4faeaf | ||
---|---|---|
.. | ||
.github | ||
test | ||
.eslintrc | ||
CHANGELOG.md | ||
LICENSE | ||
README.md | ||
index.d.ts | ||
index.js | ||
package.json | ||
tsconfig.json |
README.md
has-proto
Does this environment have the ability to set the Prototype of an object on creation with __proto__
?
Example
var hasProto = require('has-proto');
var assert = require('assert');
assert.equal(typeof hasProto(), 'boolean');
Tests
Simply clone the repo, npm install
, and run npm test