문법
console.trace();
예제
function foo() {
function bar() {
console.trace();
}
bar();
}
foo();
콘솔에 다음과 같은 추적이 표시됩니다.
bar foo <anonymous>
명세
Specification | Status | Comment |
---|---|---|
Console API The definition of 'console.trace()' in that specification. |
Living Standard | 초기 정의 |
브라우저 호환성
BCD tables only load in the browser