We're looking for a person or people to help audit MDN to find places we could speed up. Is this you or someone you know? Check out the RFP: https://mzl.la/2IHcMiE

Creates a new inline group in the Web Console. Unlike console.group(), however, the new group is created collapsed. The user will need to use the disclosure button next to it to expand it, revealing the entries created in the group.

Call console.groupEnd() to back out to the parent group.

See Using groups in the console in the console documentation for details and examples.

Note: This feature is available in Web Workers.




Label for the group. Optional.


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

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support6 Yes5211 ?5.1
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support ? ? Yes52 ? ? ?

See also

Document Tags and Contributors

 Last updated by: fscholz,