Mohammad Asif cf937194cb Removed un-waned things 1. 5 kuukautta sitten
..
.github cf937194cb Removed un-waned things 1. 5 kuukautta sitten
test cf937194cb Removed un-waned things 1. 5 kuukautta sitten
.eslintrc cf937194cb Removed un-waned things 1. 5 kuukautta sitten
CHANGELOG.md cf937194cb Removed un-waned things 1. 5 kuukautta sitten
LICENSE cf937194cb Removed un-waned things 1. 5 kuukautta sitten
README.md cf937194cb Removed un-waned things 1. 5 kuukautta sitten
index.d.ts cf937194cb Removed un-waned things 1. 5 kuukautta sitten
index.js cf937194cb Removed un-waned things 1. 5 kuukautta sitten
package.json cf937194cb Removed un-waned things 1. 5 kuukautta sitten
tsconfig.json cf937194cb Removed un-waned things 1. 5 kuukautta sitten

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