Console.groupEnd()

Web控制台中退出一格缩进(结束分组). 请参阅 console 中的Using groups in the console 来获取它的用法和示例.

Note: 此特性在 Web Worker 中可用

语法

console.groupEnd();

参数

None.

Specifications

Specification Status Comment
Console API
console.groupEnd()
Living Standard Initial definition

浏览器兼容性

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! (en-US)

Feature Chrome Edge Firefox (Gecko) Internet Explorer Opera Safari
Basic support 2 (Yes) 9.0 (9.0) 11 (Yes) 4.0[1]
Available in workers ? (Yes) 38.0 (38.0) ? ? ?
Feature Android Edge Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support ? (Yes) 9.0 (9.0) ? ? ?
Available in workers ? (Yes) 38.0 (38.0) ? ? ?

[1] Implemented in http://trac.webkit.org/changeset/35421.

See also