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

/has-proto/

    Package Sidebar

    Install

    npm i has-proto

    Weekly Downloads

    37,559,978

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    12 kB

    Total Files

    10

    Last publish

    Collaborators

    • ljharb