W3cubDocs

/Web APIs

console: groupEnd() static method

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⁩.

Note: This feature is available in Web Workers.

The console.groupEnd() static method exits the current inline group in the console. See Using groups in the console in the console documentation for details and examples.

Syntax

console.groupEnd()

Parameters

None.

Return value

None (undefined).

Specifications

Specification
Console>
# groupend>

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Opera Safari Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet WebView Android WebView on iOS
groupEnd_static 2 12 9 11 4 18 9 11 3.2 1.0 37 3.2

See also

© 2005–2025 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_static