///|
/// | The `Document` interface represents any web page loaded in the browser and serves as an entry point into the web page's content, which is the DOM tree.
/// |
/// | [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Document)
#external
pub(all) type Document
///|
/// | Returns the `document` object of a `window`.
/// |
/// | [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Window/document)
pub extern "js" fn Window::document(self : Window) -> Document =
#| (self) => self.document
// body
///|
/// | Returns the `` or `