pub fn document() -> Document
Returns the Document.
Document
This is cached as a thread-local variable, so calling document() multiple times requires only one call out to JavaScript.
document()