Skip to content

doc: update example of using await in REPL

Lexical scope of const is only invalidated when using top-level await in REPL.

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

Merge request reports

Loading