JavaScript Console trace()
JavaScript Console trace()
The trace() method is used for displaying traces that shows how the code ended up at a certain point. It is used for testing and debugging purposes.
Syntax:-
Its syntax is:- console.trace(label)
Further Explanation:-
Parameter | Description |
label | Optional. A label to give a name to the timer. |