clear (function)
Prints special ANSI escape characters to stdout which instruct your terminal emulator to clear the screen and clear your terminal scrollback.
Identical to console.clear.
Console (interface)
Console.log (method)
Logs its arguments to stdout, with a newline appended.
Any value can be logged, not just strings. Non-string values will be formatted using inspect.
Functionally identical to console.info, echo, and print. Contrast with console.error, which prints to stderr instead of stdout.
Console.info (method)
Logs its arguments to stdout, with a newline appended.
Any value can be logged, not just strings. Non-string values will be formatted using inspect.
Functionally identical to console.log, echo, and print. Contrast with console.error, which prints to stderr instead of stdout.
Console.warn (method)
Logs its arguments to stderr, with a newline appended.
Any value can be logged, not just strings. Non-string values will be formatted using inspect.
Functionally identical to console.error. Contrast with console.log, which prints to stdout instead of stderr.
Console.error (method)
Logs its arguments to stderr, with a newline appended.
Any value can be logged, not just strings. Non-string values will be formatted using inspect.
Functionally identical to console.warn. Contrast with console.log, which prints to stdout instead of stderr.
Console.clear (method)
Prints special ANSI escape characters to stdout which instruct your terminal emulator to clear the screen and clear your terminal scrollback.
Identical to clear.
console (Console)