When I enter a topic for the first time, without having followed a link to a specific example, I end up on a page with the first three examples already expanded. For instance, opening Promises on JavaScript opens looking something like this:
So, I've read the intro example before... I just want to get an overview of what kinds of examples this topic has.
Maybe if I click on the double-chevron thingy in the upper right?
Okay... not much difference. Oh wait, the chevrons point up now! Neat! And my scrollbar grabbie thing got a lot smaller. So I guess that expanded everything.
Fine, I'll bite. What happens when I click on the double-chevron thing again?
There it is! That's what I wanted to see. Why was that so exhausting?
It seems to me, if the default behavior is to have examples expanded, the default behavior of the the "expand/collapse all" button should be to collapse all examples. I do realize it's only three which are expanded, but those are all I see "above the fold".
Note that when you go to a specific example, it also expands those first three by default, along with expanding the one you want to see. This is very odd behavior in my book, but since you get scrolled up to the example you want, it's less noticeable.