how to not have a new line after console.log javascript code example Example: print to console without newline nodejs process.stdout.write("hello: ");