<aside> 🔌 The console API allows you to log information to console.
</aside>
console.log('Hello world!')
console.log(
...args: any[]
)
Logs the provided arguments to the console.
PARAMETERS
...args: any[]
The arguments to log.
RETURNS
void
console.info(
...args: any[]
)
Logs the provided arguments to the console as informational messages.
PARAMETERS
...args: any[]
The arguments to log.
RETURNS
void
console.debug(
...args: any[]
)
Logs the provided arguments to the console as debug messages.
PARAMETERS
...args: any[]
The arguments to log.
RETURNS
void
console.warn(
...args: any[]
)
Logs the provided arguments to the console as warning messages.
PARAMETERS
...args: any[]
The arguments to log.
RETURNS
void
console.error(
...args: any[]
)
Logs the provided arguments to the console as error messages.
PARAMETERS
...args: any[]
The arguments to log.
RETURNS
void
console.trace(
...args: any[]
)
Logs the provided arguments to the console with trace information.
PARAMETERS
...args: any[]
The arguments to log.
RETURNS
void
console.clear()
Clears the console.
RETURNS
void