--frozen-intrinsics
稳定性: 1 - 实验
启用像 Array
和 Object
这样的实验性冻结内在函数。
目前只为根上下文提供支持,目前不保证 global.Array
确实是默认的内在引用。
代码可能会在此标志下被破坏。
--require
在冻结内部函数之前运行以允许添加 polyfill。
Stability: 1 - Experimental
Enable experimental frozen intrinsics like Array
and Object
.
Support is currently only provided for the root context and no guarantees are
currently provided that global.Array
is indeed the default intrinsic
reference. Code may break under this flag.
--require
runs prior to freezing intrinsics in order to allow polyfills to
be added.