user7813357
user7813357

Reputation:

How to not skip to a new line but change the word while console logging?

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

Answers (1)

mscdex
mscdex

Reputation: 106696

You can use process.stdout.write() to write to stdout without the implicitly appended newline.

Upvotes: 1

Related Questions