console:groupEnd() 静态方法

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.

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

备注: 此特性在 Web Worker 中可用。

语法

js
groupEnd()

参数

无。

规范

Specification
Console
# groupend

浏览器兼容性

Report problems with this compatibility data on GitHub
desktopmobileserver
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
Deno
Node.js
groupEnd() static method

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support

参见