zyh f2307604ee z 8 months ago
..
.github f2307604ee z 8 months ago
test f2307604ee z 8 months ago
.eslintrc f2307604ee z 8 months ago
CHANGELOG.md f2307604ee z 8 months ago
LICENSE f2307604ee z 8 months ago
README.md f2307604ee z 8 months ago
index.d.ts f2307604ee z 8 months ago
index.js f2307604ee z 8 months ago
package.json f2307604ee z 8 months ago
tsconfig.json f2307604ee z 8 months 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