Sometimes when I am using the console in devtools (chrome/edge/etc), I use common functions that I write. For example a sort function or something likewise.
How can I add functions (or classes) by default, so that everytime I open the console these functions or classes are automatically available?