@hyperfrontend/immutable-api-utils/built-in-copy/stringstring
Locked, prototype-pollution-resistant copies of the global String static methods.
References to String.fromCharCode, String.fromCodePoint, String.raw, plus a frozen namespace bundling all of them, are captured at module-load time, so string-construction helpers continue to behave correctly even if the global String is later patched. Effective only when imported before any untrusted code has had a chance to mutate the prototype chain.
API Reference
● Variables
(Safe copy) Returns a string created from the specified sequence of UTF-16 code units.
(Safe copy) Returns a string created from the specified sequence of Unicode code points.
(Safe copy) Returns a string created from a raw template string.
(Safe copy) Namespace object containing all String static methods. Note: Importing this imports all methods in this namespace (no tree-shaking).