nx.js
Variables

console

console: Console

The global console object contains functions for printing text to the screen, which can be useful for text-based applications, and is also useful for debugging.

Most methods use the Switch.inspect() method for formatting, and the console.print() method to output to the screen.

Important

Unless otherwise stated, invoking any method on the console object switches the application to console rendering mode, clearing any pixels previously drawn on the screen using the Canvas API.

See

https://developer.mozilla.org/docs/Web/API/console

On this page