Skip to content

Commit 5599424

Browse files
TrottLinkgoron
authored andcommitted
doc: revise frozen-intrinsics text
PR-URL: nodejs#41342 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Franziska Hinkelmann <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 448ea3d commit 5599424

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

doc/api/cli.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -371,12 +371,11 @@ added: v11.12.0
371371
372372
Enable experimental frozen intrinsics like `Array` and `Object`.
373373

374-
Support is currently only provided for the root context and no guarantees are
375-
currently provided that `global.Array` is indeed the default intrinsic
376-
reference. Code may break under this flag.
374+
Only the root context is supported. There is no guarantee that
375+
`globalThis.Array` is indeed the default intrinsic reference. Code may break
376+
under this flag.
377377

378-
`--require` runs prior to freezing intrinsics in order to allow polyfills to
379-
be added.
378+
To allow polyfills to be added, `--require` runs before freezing intrinsics.
380379

381380
### `--heapsnapshot-near-heap-limit=max_count`
382381

0 commit comments

Comments
 (0)