You ever have a bunch of console.log
instances you wish you could just expand or collapse at once?
Well this will do that.
You of course need to open your DevTools Console, on a mac that shortcut is ⌘ (Command) + ⌥ (Shift) + J
Now hit ⌘ (Command) + ⌥ (Shift) + J
again to open DevTools for your DevTools.
Then run the code below. If you run it once, it will collapse everything it can. If you run it again, it will expand.