console.trace()
The console.trace()
method outputs a stack trace to the console.
Syntax
trace()
trace(object1, /* …, */ objectN)
Parameters
objects
optional- : Zero or more objects to be output to console along with the trace. These are
assembled and formatted the same way they would be if passed to the
console.log()
method.
- : Zero or more objects to be output to console along with the trace. These are
assembled and formatted the same way they would be if passed to the
Return value
undefined
.