D8D da8e66ac9e Initial commit há 1 ano atrás
..
.github da8e66ac9e Initial commit há 1 ano atrás
test da8e66ac9e Initial commit há 1 ano atrás
.eslintrc da8e66ac9e Initial commit há 1 ano atrás
CHANGELOG.md da8e66ac9e Initial commit há 1 ano atrás
LICENSE da8e66ac9e Initial commit há 1 ano atrás
README.md da8e66ac9e Initial commit há 1 ano atrás
index.d.ts da8e66ac9e Initial commit há 1 ano atrás
index.js da8e66ac9e Initial commit há 1 ano atrás
package.json da8e66ac9e Initial commit há 1 ano atrás
tsconfig.json da8e66ac9e Initial commit há 1 ano atrás

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