JavaScript, ECMAScript, DOM, BOM relationships

Source: Internet
Author: User

ECMAScript, officially named ECMA 262 and ISO/IEC 16262, is the international Web standard for scripting languages in the hosting environment. The ECMASCRIPT specification defines what a scripting language implementation should contain, but because it is extensible, its implementation can vary significantly from the minimum set.

ECMAScript is an open, internationally accepted scripting language specification. It is not a scripting language in itself. Just as a collection of beans that perform useful operations in a WEB application (for example, Netscape AWT) is an implementation of the Sun's JavaBean specification, JavaScript is an implementation of the ECMASCRIPT specification.

the difference between JScript and JavaScript

the predecessor of the JavaScript language is called LiveScript. Since Sun's introduction of the famous Java language, Netscape introduced Sun's program design concept for Java, redesigned its original livescript and renamed it JavaScript. This is why it is called JavaScript, because JavaScript is an object-based scripting language embedded in HTML documents. A large part of the syntax is similar to the Java language, and the JavaScript design makes it easy to work with the Java language, which can fully support Java applet applets, Java's Applet applets also make it easy to access existing JavaScript code. As a result, JavaScript can also be seen as a simplified version of the Java language.
JScript is a Microsoft company implementation of the ECMA 262 language Specification (ECMAScript Editor 3). In addition to a few exceptions (for backwards compatibility), JScript fully implements the ECMA standard. JScript is an interpreted, object-based scripting language.

JScript is a Microsoft version of JavaScript, which is basically consistent with JavaScript.
If you write like this:
If you do not declare a script version, JScript is default in IE, and JavaScript is used by default in Netscape.
The scripting language itself is independent of the browser version, JavaScript is JavaScript, always the Netscape company's JavaScript, always the first to default support Ns;jscript Forever is Ms JScript, IE will always default to first support JScript, in fact, is only the resentment between MS and NS, in our users are no different ...
the differences between JScript scripts and JavaScript scripts are minimal,
their differences are mainly reflected in the document Building model,
this applies to a higher level of programming.


ECMAScript

DOM Document Object Model

BOM Browser Object Model

1.DOM, BOM structure description


Dom manipulating HTML elements

BOM operations are browser-related information, such as access to browser information, resolution, and so on.

2. Main browser and kernel, kernel and ECMAScript relationship

JavaScript, ECMAScript, DOM, BOM relationships

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.