P.S. I am glad that this forum is back up and running
No problem. I do understand what you mean, but just to clarify:
document is not a function. It is an object associated with the browser.
document is used throughout the jQuery tutorial, as well as mentioned in the React section of the fCC curriculum. Whilst it is not explained in depth, it is mentioned, albeit quite late in the content.