method Console.timeEnd
Jump to headingConsole.timeEnd(label?: string): void
Stops a timer that was previously started
Examples Jump to heading
Jump to heading
Example 1
Example 1
console.time('operation');
// ... some code
console.timeEnd('operation'); // Prints: operation: 1234ms
Parameters Jump to heading
optional
Jump to headinglabel: string
Timer label to stop. Defaults to 'default'
Return Type Jump to heading
void