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

console.groupCollapsed Redirect 1

« DOM Reference


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.






Not part of any specification.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support 6 9.0 (9.0) ? ? 5.1
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support ? 9.0 (9.0) ? ? ?

Gecko notes

This method is supported starting in Gecko 9.0 (Firefox 9.0 / Thunderbird 9.0 / SeaMonkey 2.6), but the new group is not collapsed; it's functionally equivalent to console.group().

See also

Document Tags and Contributors

 Last updated by: Sheppy,