zyh f2307604ee z 8 meses atrás
..
.github f2307604ee z 8 meses atrás
test f2307604ee z 8 meses atrás
.eslintrc f2307604ee z 8 meses atrás
CHANGELOG.md f2307604ee z 8 meses atrás
LICENSE f2307604ee z 8 meses atrás
README.md f2307604ee z 8 meses atrás
index.d.ts f2307604ee z 8 meses atrás
index.js f2307604ee z 8 meses atrás
package.json f2307604ee z 8 meses atrás
tsconfig.json f2307604ee z 8 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