--frozen-intrinsics


稳定性: 1 - 实验

启用像 ArrayObject 这样的实验性冻结内在函数。

仅支持根上下文。 不能保证 globalThis.Array 确实是默认的内在引用。 代码可能会在此标志下被破坏。

为了允许添加 polyfill,--require 在冻结内在函数之前运行。

Stability: 1 - Experimental

Enable experimental frozen intrinsics like Array and Object.

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.

To allow polyfills to be added, --require runs before freezing intrinsics.