Toggle output/argument expansion.
Prefer toggling output, but only when the output can actually
expand/collapse. Otherwise fall through to the collapsible args/code
block — js_eval commonly has a short, unexpandable result sitting
below a multi-line, collapsible code block, and the old
"output wins whenever it exists" rule left that code block stuck.