Skip to main content
method Console.warn
Console.warn(...data: any[]): void
Deprecated

Outputs a warning message to the console

Examples

Example 1

console.warn('Deprecated feature used');

Parameters

<span>...data</span>: any[]

Return Type

void
Back to top