You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hjl
9372f6120a
|
1 month ago | |
---|---|---|
.. | ||
.github | 1 month ago | |
test | 1 month ago | |
.eslintrc | 1 month ago | |
CHANGELOG.md | 1 month ago | |
LICENSE | 1 month ago | |
README.md | 1 month ago | |
index.d.ts | 1 month ago | |
index.js | 1 month ago | |
package.json | 1 month ago | |
tsconfig.json | 1 month ago |
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