陈鹏铭 3283bca5a2 1 8 months ago
..
.github fe36a53a7d 首次提交 8 months ago
test fe36a53a7d 首次提交 8 months ago
.eslintrc fe36a53a7d 首次提交 8 months ago
CHANGELOG.md fe36a53a7d 首次提交 8 months ago
LICENSE fe36a53a7d 首次提交 8 months ago
README.md fe36a53a7d 首次提交 8 months ago
index.js fe36a53a7d 首次提交 8 months ago
package.json 3283bca5a2 1 8 months 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