陈鹏铭 0e441ebeb1 仓库创建 1 рік тому
..
.github 0e441ebeb1 仓库创建 1 рік тому
test 0e441ebeb1 仓库创建 1 рік тому
.eslintrc 0e441ebeb1 仓库创建 1 рік тому
CHANGELOG.md 0e441ebeb1 仓库创建 1 рік тому
LICENSE 0e441ebeb1 仓库创建 1 рік тому
README.md 0e441ebeb1 仓库创建 1 рік тому
index.js 0e441ebeb1 仓库创建 1 рік тому
package.json 0e441ebeb1 仓库创建 1 рік тому

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