Skip to main content

method Console.warn

#Console.warn(...data: any[]): void

Outputs a warning message to the console

Examples #

#
console.warn('Deprecated feature used');

Parameters #

#...data: any[]

Return Type #

void