Difference between console.log and process.stdout.write in NodeJS

NodeJS can print a string to terminal using two ways. The well known console.log as in chrome and the lesser-known process.stdout.write way. Both have the same usage params. While you …

Advertisements