Ben 34809681ae fix 11 ماه پیش
..
.github 34809681ae fix 11 ماه پیش
test 34809681ae fix 11 ماه پیش
.eslintrc 34809681ae fix 11 ماه پیش
CHANGELOG.md 34809681ae fix 11 ماه پیش
LICENSE 34809681ae fix 11 ماه پیش
README.md 34809681ae fix 11 ماه پیش
index.d.ts 34809681ae fix 11 ماه پیش
index.js 34809681ae fix 11 ماه پیش
package.json 34809681ae fix 11 ماه پیش
tsconfig.json 34809681ae fix 11 ماه پیش

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