Ways to output text in node scripts
Snippet
Written with a loving hand by kitt some time around 22:48 on 5 July 2016
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