Skip to content

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

License

Notifications You must be signed in to change notification settings

inspect-js/has-proto

Repository files navigation

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

About

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

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks