mirror of https://github.com/jkjoy/sunpeiwen.git
9a9cb42f53 | ||
---|---|---|
.. | ||
.github | ||
test | ||
.eslintrc | ||
CHANGELOG.md | ||
LICENSE | ||
README.md | ||
index.js | ||
package.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