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

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