console.groupEnd()

The console.groupEnd() method 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

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
groupEnd
1
12
9
11
11
4
37
18
9
11
3.2
1.0

© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/console/groupEnd