method Console.traceConsole.trace(...data: any[]): voidDeprecatedOutputs a stack trace to the console ExamplesExample 1 console.trace('Trace message'); Parameters<span>...data</span>: any[]Return Typevoid