Ways to output text in node scripts
Snippet
Instead of being asleep at 22:48 on 5 July 2016, kitt created this:
Different ways to output text in node scripts.
Of note, console.log()
calls process.stdout.write
with formatted output.
process.stdout.write("look mom, no trailing newline"); console.log("this will have a newline at the end");
Add new comment