Skip to content

Commit 7618b55

Browse files
Trottdanielleadams
authored andcommitted
doc: revise frozen-intrinsics text
PR-URL: #41342 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent fe4158a commit 7618b55

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

doc/api/cli.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -363,12 +363,11 @@ added: v11.12.0
363363
364364
Enable experimental frozen intrinsics like `Array` and `Object`.
365365

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

370-
`--require` runs prior to freezing intrinsics in order to allow polyfills to
371-
be added.
370+
To allow polyfills to be added, `--require` runs before freezing intrinsics.
372371

373372
### `--heapsnapshot-near-heap-limit=max_count`
374373

0 commit comments

Comments
 (0)