I will be referring to this stackoverflow question: Get global variable dynamically by name string in JavaScript
The title is clear, but I don't think most know what the body text is asking for. Nobody seems to mind though, because as this comment says, "I don't care what OP actually wanted. I care about what is in question title and therefore becomes google result in my searches." Given this popular question was asked over a decade ago, I tend to agree.
So I wondered if the question body should be rewritten to match the question title and/or the accepted answer. That way, other users don't waste time trying to interpret the unclear question body.