The Document Object Model, or DOM, is the only means by which JavaScript can act on the results of its calculations. If you access any variable which is not a constructor and was not defined by you (or a JavaScript framework), you're accessing the DOM.
The root of the DOM is the global window.
Template:Mainonly