W3cubDocs

/Web APIs

console: groupEnd() method

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

js

groupEnd()

Parameters

None.

Return value

None (undefined).

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 2 12 9 11 11 4 37 18 9 11 3.2 1.0

See also

© 2005–2023 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