2 ms·
I can’t speak for Lisp, but JavaScript isn’t going to write that to standard out, it would just be a statement that didn’t do anything. You would need somethin
by donatj 5y ago
I can’t speak for Lisp, but JavaScript isn’t going to write that to standard out, it would just be a statement that didn’t do anything.
You would need something like
import { stdout } from 'process';
stdout.write("Hello World");
- mejutoco 5y agoFair enough. On the client (just opening dev tools) it would return the string, but as you say, it depends on what we count as valid (repl, server-side, client). Probably the closest would be console.log("Hello World")