D8D da8e66ac9e Initial commit 1 rok temu
..
.github da8e66ac9e Initial commit 1 rok temu
test da8e66ac9e Initial commit 1 rok temu
.eslintrc da8e66ac9e Initial commit 1 rok temu
CHANGELOG.md da8e66ac9e Initial commit 1 rok temu
LICENSE da8e66ac9e Initial commit 1 rok temu
README.md da8e66ac9e Initial commit 1 rok temu
index.d.ts da8e66ac9e Initial commit 1 rok temu
index.js da8e66ac9e Initial commit 1 rok temu
package.json da8e66ac9e Initial commit 1 rok temu
tsconfig.json da8e66ac9e Initial commit 1 rok temu

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