2 ms·
A common use case for a repl is to copy and paste code into it, or to give code to someone and have them run it. It's nice to not have to think about what the c
by benatkin 5y ago
A common use case for a repl is to copy and paste code into it, or to give code to someone and have them run it. It's nice to not have to think about what the code could do to the system before running it.
- justshowpost 5y agoIf you have all code already, just paste into a file and run that file… Otherwise you might want to check out piping support https://github.com/denoland/deno/pull/6130 https://github.com/denoland/deno/pull/6130 Something like `echo "yourcodehere" | deno run -`