Skip to main content
Console.log - Web documentation
method Console.log
Private
Console.log(...data: any[]): void

Outputs a message to the console

Examples

Example 1

console.log('Hello', 'World', 123);

Parameters

...data: any[]

Return Type

void
Back to top