Skip to content

Determine whether the environment has the so-called "override mistake" - [[Set]]ing a property whose ancestor is nonwritable throws.

License

Notifications You must be signed in to change notification settings

inspect-js/has-override-mistake

Repository files navigation

has-override-mistake Version Badge

github actions coverage License Downloads

npm badge

Determine whether the environment has the so-called "override mistake" - [[Set]]ing a property whose ancestor is nonwritable throws.

Example

var hasOverrideMistake = require('has-override-mistake');
var assert = require('assert');

assert.equal(typeof hasOverrideMistake(), 'boolean', 'returns true or false');

Tests

Simply clone the repo, npm install, and run npm test

About

Determine whether the environment has the so-called "override mistake" - [[Set]]ing a property whose ancestor is nonwritable throws.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks