# math

Locked, prototype-pollution-resistant copies of the global `Math` static methods and constants.

References to `Math.E`, `Math.PI`, `Math.LN2`, `Math.LN10`, `Math.LOG2E`, `Math.LOG10E`, `Math.SQRT2`, `Math.SQRT1_2`, plus the full set of math functions ([`abs`](https://www.hyperfrontend.dev/docs/libraries/utils/immutable-api/built-in-copy/math/#api-abs), [`floor`](https://www.hyperfrontend.dev/docs/libraries/utils/immutable-api/built-in-copy/math/#api-floor), [`ceil`](https://www.hyperfrontend.dev/docs/libraries/utils/immutable-api/built-in-copy/math/#api-ceil), [`round`](https://www.hyperfrontend.dev/docs/libraries/utils/immutable-api/built-in-copy/math/#api-round), [`sqrt`](https://www.hyperfrontend.dev/docs/libraries/utils/immutable-api/built-in-copy/math/#api-sqrt), [`pow`](https://www.hyperfrontend.dev/docs/libraries/utils/immutable-api/built-in-copy/math/#api-pow), trig, logarithms, etc.) are captured at module-load time and frozen into a tamper-proof namespace, so numeric computations stay deterministic even if the global `Math` is later patched. Effective only when imported before any untrusted code has had a chance to mutate the prototype chain.

---

Canonical page: https://www.hyperfrontend.dev/docs/libraries/utils/immutable-api/built-in-copy/math/
This file: https://www.hyperfrontend.dev/docs/libraries/utils/immutable-api/built-in-copy/math.md
Documentation index: https://www.hyperfrontend.dev/llms.txt
