概述

Web控制台输出一个堆栈跟踪.

在页面console文档中查看堆栈跟踪的详细介绍和示例.

语法

console.trace();

参数

规范

不属于任何规范

浏览器兼容性

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? 10.0 (10.0) ? ? ?
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support ? 10.0 (10.0) ? ? ?

文档标签和贡献者

 此页面的贡献者: airt, teoli, jsx, ziyunfei
 最后编辑者: airt,