chengkaiqiang e6b2cb2e99 DYZBC_20250121 há 3 meses atrás
..
.github e6b2cb2e99 DYZBC_20250121 há 3 meses atrás
test e6b2cb2e99 DYZBC_20250121 há 3 meses atrás
.eslintrc e6b2cb2e99 DYZBC_20250121 há 3 meses atrás
CHANGELOG.md e6b2cb2e99 DYZBC_20250121 há 3 meses atrás
LICENSE e6b2cb2e99 DYZBC_20250121 há 3 meses atrás
README.md e6b2cb2e99 DYZBC_20250121 há 3 meses atrás
index.js e6b2cb2e99 DYZBC_20250121 há 3 meses atrás
package.json e6b2cb2e99 DYZBC_20250121 há 3 meses atrás

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