method Console.timeLog
Jump to headingConsole.timeLog(label?: string,...data: any[],): void
Logs the current value of a timer that was previously started
Examples Jump to heading
Jump to heading
Example 1
Example 1
console.time('process');
// ... some code
console.timeLog('process', 'Checkpoint A');
Parameters Jump to heading
optional
Jump to headinglabel: string
Timer label
Jump to heading<span>...data</span>: any[]
Return Type Jump to heading
void