There are a crap ton of global variables in a typical browser environment to begin with, and usually even more of them in whatever web app you might load. When I get side tracked from a session in devtools, I want to list all my own variables, to quickly see what I had uncovered already to resume, without trying to piece it together from the window and command line history, ideally without noise from the page, or browser object model.
(If you want all global variables, not just those you created in devtools, there's a Q&A for that here.)