我们的志愿者还没有将这篇文章翻译为 中文 (简体)加入我们帮助完成翻译!
您也可以阅读此文章的English (US)版。

Exits the current inline group in the Web Console. See Using groups in the console in the console documentation for details and examples.

Note: This feature is available in Web Workers.

Syntax

console.groupEnd();

Parameters

None.

Specifications

Specification Status Comment
Console API
The definition of 'console.groupEnd()' in that specification.
Living Standard Initial definition

Browser compatibility

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

文档标签和贡献者

 最后编辑者: arronei,