79308218

Date: 2024-12-25 19:34:35
Score: 2
Natty:
Report link

Is it possible to create another instance of the javascript console

In browser, consoles cannot be instantiated. Only one instance exists. So to group data together you need to create new own separate method which will save all messages and output them into some place.

In Node.JS you can create new instances of Console class and set out/err streams for new instance.

https://nodejs.org/api/console.html#new-consolestdout-stderr-ignoreerrors

Reasons:
  • Blacklisted phrase (1): Is it possible to
  • Has code block (-0.5):
  • Starts with a question (0.5): Is it
  • Low reputation (1):
Posted by: sepu