904118851 d3db235384 123 2 months ago
..
.github d3db235384 123 2 months ago
test d3db235384 123 2 months ago
.eslintrc d3db235384 123 2 months ago
CHANGELOG.md d3db235384 123 2 months ago
LICENSE d3db235384 123 2 months ago
README.md d3db235384 123 2 months ago
index.d.ts d3db235384 123 2 months ago
index.js d3db235384 123 2 months ago
package.json d3db235384 123 2 months ago
tsconfig.json d3db235384 123 2 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