- The Core (based on ECMAScript spec)
- The Document Object Model (DOM)
- The Browser Object Model (BOM)
ECMA-262 describes it like this
“ECMAScript can provide core scripting capabilities for a variety of host environments, and therefore the core scripting language is specified…apart from any particular host environment.”
A Web browser is considered a host environment for ECMAScript, but it is not the only host environment. A list of other host environments listed here.
Apart from DOM and BOM, each browser has its own implementation of the ECMAScript interface.
Document Object Model (DOM)
The Document Object Model (DOM) is an application programming interface (API) for HTML as well as XML.
The DOM maps out an entire page as a document composed of a hierarchy of nodes like…
View original post 318 more words