count method

Create an incrementable counter that prints its value to the console. Use different countTitle parameters to create different counters.

 

Syntax

console.count(countTitle);

Parameters

  • countTitle [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