time method

Starts a timer. If you do not specify a name parameter, the name "default" will be used.

 

Syntax

console.time(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