JavaScript Console count()
JavaScript Console count()
The count() method is used for counting the number of times console.count() method is called. We can add a label to it otherwise it is set to the "Default" label.
Syntax:-
Its syntax is:- console.count(label)
Further Explanation:-
Parameter | Description |
label | Optional. The default label is "Default". |