Javascript and JScript each have the same three parts in their specifications.
The core component of the language (which is basically the same in both JavaScript and JScript) is based on the ECMAscript 262 standard. This standard defines how the core part of the language works. This includes the syntax to use to define your variables, how to perform calculations on those variables, how to set up loops and functions and how to define objects. What this standard doesnt define is how the script should interface with the web page and the browser.
The second component part of the language is the Document Object Model (DOM). This standard has been developed by the W3C and defines how JavaScript should communicate with the web page in order to extract content from the page for processing, add content to the page, as well as how to access the stylesheet for the page in order to change the appearance of the page. There are four different levels in this set of standards. The DOM0 standards are those methods that the browsers implemented prior to the W3C starting on writing the standards and which the browsers still support today. The W3C has released three different sets of standards for interfacing with the web page each of which includes everything in the prior standard and which then adds further ways of interfacing with the page. These are known as DOM1, DOM2, and DOM3. The DOM3 standard is considered to be the final version with no further additions to it being required. Most browsers currently support most or all of the DOM2 standard and small parts of the DOM3 standard. Internet Explorer is somewhat behind the other browsers and still has some gaps in its support for DOM2 although JScript does also provide some alternatives that provide similar functionality.
The third and final component is the Browser Object Model which is how the scripts obtain information from the browser and pass information back to it. For this part of the language there is no one actually co ordinating standards and so the browser writers can define their own interface. Most browsers other than Internet Explorer have copied the Firefox way of interfacing to the browser which simplifies the task somewhat. Internet Explorer has two different ways of interfacing with the browser depending on whether the browser is being run in standards mode or quirks mode. Since this is determined by whether the page has a valid DOCTYPE statement as the first tag in the HTML file and this is under your control all of the discussion in this book will assume that you have set up your web page to run in standards mode in Internet Explorer and so we will disregard the quirks mode interface for Internet Explorer.