Ways to output text in node scripts
Snippet
Posted by kitt at 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