JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 35771138
  • Score
    100M100P100Q232358F
  • License MIT

Does this environment have the ability to get or set the [[Prototype]] of an object with `__proto__`?

Package Exports

  • has-proto
  • has-proto/package.json

Readme

can-set-proto Version Badge

github actions coverage License Downloads

npm badge

Does this environment have the ability to set the [[Prototype]] of an object?

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