has-proto

1.0.1 • Public • Published

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

Install

npm i has-proto

DownloadsWeekly Downloads

9,548,037

Version

1.0.1

License

MIT

Unpacked Size

7.2 kB

Total Files

8

Last publish

Collaborators

  • ljharb