has-override-mistake
v1.0.1
Published
Determine whether the environment has the so-called "override mistake" - [[Set]]ing a property whose ancestor is nonwritable throws.
Downloads
740
Maintainers
Readme
has-override-mistake
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