--frozen-intrinsics
稳定性: 1 - 实验性的
¥Stability: 1 - Experimental
启用像 Array 和 Object 这样的实验性冻结内在函数。
¥Enable experimental frozen intrinsics like Array and Object.
仅支持根上下文。不能保证 globalThis.Array 确实是默认的内在引用。代码可能会在此标志下被销毁。
¥Only the root context is supported. There is no guarantee that
globalThis.Array is indeed the default intrinsic reference. Code may break
under this flag.
为了允许添加 polyfill,--require 和 --import 都在冻结内部函数之前运行。
¥To allow polyfills to be added,
--require and --import both run before freezing intrinsics.