Programming

Node.js: printing to console without a trailing newline?

steloflute 2013. 3. 23. 23:00

http://stackoverflow.com/questions/6157497/node-js-printing-to-console-without-a-trailing-newline

 

You can use process.stdout.write():

process.stdout.write("hello: ");