Deno 1.21 improves REPL, error handling
pubsub.slavino.sk / infoworldcom · Thursday, 28 April, 2022 - 19:17 edit
The Deno REPL is a tool for prototyping and trying out new things. With Deno 1.21, an
flag can be used with the
subcommand. This flag allows for passing of a list of paths or URLs to files that will be executed before the REPL starts and is useful for building custom, specialized REPLs. Also, type checking has been disabled for imported modules in the REPL, leading to faster imports. And the REPL now has a global
function that acts as an alias for
. This aligns with what is found in REPLs in many browsers, Deno’s developers said.
To read this article in full, please click here