chengkaiqiang e6b2cb2e99 DYZBC_20250121 1 month ago
..
.github e6b2cb2e99 DYZBC_20250121 1 month ago
test e6b2cb2e99 DYZBC_20250121 1 month ago
.eslintrc e6b2cb2e99 DYZBC_20250121 1 month ago
CHANGELOG.md e6b2cb2e99 DYZBC_20250121 1 month ago
LICENSE e6b2cb2e99 DYZBC_20250121 1 month ago
README.md e6b2cb2e99 DYZBC_20250121 1 month ago
index.js e6b2cb2e99 DYZBC_20250121 1 month ago
package.json e6b2cb2e99 DYZBC_20250121 1 month ago

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