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

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