PC/node_modules/has-proto
2026-01-26 23:20:48 +08:00
..
.github chushihua 2026-01-26 23:20:48 +08:00
test chushihua 2026-01-26 23:20:48 +08:00
.eslintrc chushihua 2026-01-26 23:20:48 +08:00
CHANGELOG.md chushihua 2026-01-26 23:20:48 +08:00
index.js chushihua 2026-01-26 23:20:48 +08:00
LICENSE chushihua 2026-01-26 23:20:48 +08:00
package.json chushihua 2026-01-26 23:20:48 +08:00
README.md chushihua 2026-01-26 23:20:48 +08:00

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