Calls a function after the page has loaded, possibly immediately.
Function to run.
Error Will throw if no global document can be found (e.g., Node.js).
Calls a function after the page has loaded, possibly immediately.