包详细信息

has-override-mistake

inspect-js187MIT1.0.1

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

freeze, frozen, writable, set

自述文件

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

更新日志

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

v1.0.1 - 2024-02-29

Commits

  • add types 4599b8c
  • [Fix] don‘t bother checking in IE 6 - 8 8a08d25
  • [Dev Deps] update @ljharb/eslint-config, aud, npmignore, semver, tape 210a194
  • [Tests] fix tests for IE 8 7f383c5
  • [meta] add sideEffects flag 1fc5e33

v1.0.0 - 2023-05-09

Commits