console.log not new line code example
Example 1: print to console without newline nodejs
process.stdout.write("hello: ");
Example 2: console log add new line
console.log('',a,'\n',b,'\n',c)
process.stdout.write("hello: ");
console.log('',a,'\n',b,'\n',c)