@hyperfrontend/immutable-api-utils/built-in-copy/arrayarray
Locked, prototype-pollution-resistant copies of the global Array static methods.
References to Array.isArray, Array.from, and Array.of are captured at module-load time and frozen into a tamper-proof namespace, so downstream code keeps working even if the global Array 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) Namespace object containing all Array static methods. Note: Importing this imports all methods in this namespace (no tree-shaking).
(Safe copy) Creates an array from an array-like or iterable object.
(Safe copy) Determines whether the passed value is an Array.
(Safe copy) Creates a new Array instance from a variable number of arguments.