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.
juncheng.li
27cf5ae2d3
|
1 year ago | |
---|---|---|
.. | ||
test | 1 year ago | |
.eslintrc | 1 year ago | |
CHANGELOG.md | 1 year ago | |
LICENSE | 1 year ago | |
README.md | 1 year ago | |
index.js | 1 year ago | |
package.json | 1 year 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