Ways to output text in node scripts
Snippet
kitt decided around 22:48 on 5 July 2016 to publish 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