console.timeEnd()
The console.timeEnd()
stops a timer that was previously started by calling console.time()
.
Syntax
Parameters
label
- : A
string
representing the name of the timer to stop. Once stopped, the elapsed time is automatically
displayed in the console.
Return value
undefined
.