has-proto
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • 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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    20,627,861
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    20,627,861
  • 1.0.2
    1,352
  • 1.0.1
    25,001,558
  • 1.0.0
    60

Package Sidebar

Install

npm i has-proto

Weekly Downloads

28,317,622

Version

1.0.3

License

MIT

Unpacked Size

12 kB

Total Files

10

Last publish

Collaborators

  • ljharb