Reputation:
In node js when I use console.log it skips to a new line this time I want the existing string to be changed rather than logging something new, how do I have achieve that in node terminal?
Upvotes: 0
Views: 33
Reputation: 106696
You can use process.stdout.write()
to write to stdout without the implicitly appended newline.
Upvotes: 1