timeEnd method

Ends a timer that was set using console.time() and logs the elapsed time to the console. If you do not specify a name parameter, the name "default" will be used.

 

Syntax

console.timeEnd(timerName);

Parameters

  • timerName [in, optional]
    Type: DOMString

Return value

This method does not return a value.

See also

console

Using the F12 Tools Console to View Errors and Status