lxy 1c63d88d40 demo 2 years ago
..
.github 1c63d88d40 demo 2 years ago
test 1c63d88d40 demo 2 years ago
.eslintrc 1c63d88d40 demo 2 years ago
CHANGELOG.md 1c63d88d40 demo 2 years ago
LICENSE 1c63d88d40 demo 2 years ago
README.md 1c63d88d40 demo 2 years ago
index.js 1c63d88d40 demo 2 years ago
package.json 1c63d88d40 demo 2 years ago

README.md

has-proto Version Badge

github actions coverage License Downloads

npm badge

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