Skip to content

Commit a8350ac

Browse files
doc: remove --expose-gc flag from CLI documentation
PR-URL: #58909 Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent dc7838c commit a8350ac

1 file changed

Lines changed: 0 additions & 19 deletions

File tree

doc/api/cli.md

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1568,25 +1568,6 @@ added:
15681568
15691569
Enable experimental support for the worker inspection with Chrome DevTools.
15701570

1571-
### `--expose-gc`
1572-
1573-
<!-- YAML
1574-
added:
1575-
- v22.3.0
1576-
- v20.18.0
1577-
-->
1578-
1579-
> Stability: 1 - Experimental. This flag is inherited from V8 and is subject to
1580-
> change upstream.
1581-
1582-
This flag will expose the gc extension from V8.
1583-
1584-
```js
1585-
if (globalThis.gc) {
1586-
globalThis.gc();
1587-
}
1588-
```
1589-
15901571
### `--force-context-aware`
15911572

15921573
<!-- YAML

0 commit comments

Comments
 (0)