how to find document.ready function in globalnamespace

how to find document.ready function in globalnamespace

hi,
  
    Any variable we create in the script(javascript) tag of HTML, it goes to the global namespace. which can be seen in the console tab of the developer window(f12).

I wanted to find out where does document. ready function goes, and whether it goes to the global namespace or not.

your sincerely