If you have written some user functions in the *.user.js file:
//Put your custom functions and variables in this file
When you go to the Object Tree, you'll see them listed:
If you double click on the name of the function (e.g. doClick) it will automatically navigate you to the location.