Files
node/test/parallel
Dario PiotrowiczandAntoine du Hamel 13e3aef053 doc: update example of using await in REPL
Clarify that the lexical scope of `const` is
invalidated when using top-level `await` in REPL.

As part of this change also add tests for the
documented behavior

Fixes: https://github.com/nodejs/node/issues/45918

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
Co-authored-by: Dario Piotrowicz <dario.piotrowicz@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/57653
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2025-04-05 22:06:45 +00:00
..
2025-02-25 21:13:03 +00:00
2025-03-21 21:36:41 +01:00
2025-04-04 16:57:43 +00:00
2025-02-08 12:43:53 +00:00
2025-02-08 12:43:53 +00:00
2025-02-08 12:43:53 +00:00