2023-05-03 11:06:20 +02:00
== Why is this an issue?
2021-04-28 16:49:39 +02:00
Overriding an object changes its behavior and could potentially impact all code using that object. Overriding standard, built-in objects could therefore have broad, potentially catastrophic effects on previously-working code.
This rule detects overrides of the following native objects:
* Fundamental objects - Object, Function, Boolean, Symbol, Error, EvalError, InternalError, RangeError, ReferenceError, SyntaxError, TypeError, URIError
* Numbers and dates - Number, Math, Date
* Text processing - String, RegExp
* Indexed collections - Array, Int8Array, Uint8Array, Uint8ClampedArray, Int16Array, Unit16Array, Int32Array, Uint32Array, Float32Array, Float64Array
* Keyed collections - Map, Set, WeakMap, WeakSet
* Structured data - ArrayBuffer, DataView, JSON
* Control abstraction objects - Promise
* Reflection - Reflect, Proxy
* Internationalization - Intl
* Non-standard objects - Generator, Iterator, ParallelArray, StopIteration
2021-04-28 18:08:03 +02:00
2021-09-20 15:38:42 +02:00
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
2023-05-25 14:18:12 +02:00
=== Message
Remove this override of "xxx".
2021-09-20 15:38:42 +02:00
endif::env-github,rspecator-view[]