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

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