Debian Codegraph @

doc/design/compiler-assumptions.md

raw
1 # Compiler Assumptions
2
3 Babel and its associated official transforms make some assumptions about your code. These
4 assumptions are only made as they're either **impossible** to take into consideration or
5 are extremely exotic.
6
7 - `undefined`, `NaN` and `Infinity` have not been externally redefined.
8 - Built-in objects such as `Object`, `Array`, `String`, `Number`, `Boolean` etc have not been redefined.
9 - Standard methods on built-ins have not been redefined in a way that breaks the original contract.