e 4b9ef13e99 工具 1 year ago
..
.github 4b9ef13e99 工具 1 year ago
test 4b9ef13e99 工具 1 year ago
.eslintrc 4b9ef13e99 工具 1 year ago
CHANGELOG.md 4b9ef13e99 工具 1 year ago
LICENSE 4b9ef13e99 工具 1 year ago
README.md 4b9ef13e99 工具 1 year ago
index.js 4b9ef13e99 工具 1 year ago
package.json 4b9ef13e99 工具 1 year 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