Whoever means any person at all who does the thing. Whoever wants it, whoever they are, tell whoever answers.
It generalises: whoever wins covers every possible winner. Whoever takes the subject case and whomever the object, though whomever is nearly extinct and no listener will miss it. It also works as an exasperated dismissal — whoever. Note whatever and whenever, built with the same -ever.
1pronounwhoeverAny person at all who does the thing.
“Whoever broke the window must pay for it.”
whoever is a pronoun.
Who plus -ever, a Middle English compound. Whatever, whenever and however are built the same way.
Middle English
whoever
English, today
whoever
From Middle English whoever. by surface analysis, who + -ever.
Etymology from Wiktionary, CC BY-SA