Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How is javascript formed?

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article is about how javascript is made up. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

Javascript consists of three parts, namely: 1, ECMAScript part, refers to the core, is an internationally recognized standard scripting language specification; 2, DOM part, refers to the document object model; 3, BOM part, refers to the browser object model.

This article operating environment: windows7 system, javascript1.8.5 version, DELL G3 computer.

What are the components of javascript?

Although JavaScript and ECMAScript are usually used to express the same meaning, the meaning of JavaScript is much more than that specified in ECMA-262. A complete JavaScript implementation should consist of three parts:

1. Core (ECMAScript)

two。 Document object Model (DOM)

3. Browser object Model (BOM)

Core (ECMAScript)

ECMAScript, defined by ECMA-262, is an internationally accepted standard scripting language specification that has no dependency on Web browsers. The ECMA-262 standard mainly stipulates that the language consists of the following components:

1. Grammar

two。 Variables and data types

3. Keywords and reserved words

4. Operator

5. Control statement

6. Object

ECMAScript version 5.0 was officially released in 2009. For a long time, javaScript was used according to the 5. 0 standard. In 2015, ECMAScript 6 released its official version, officially known as ECMAScript 2015. ECMAScript defines all the properties, methods, and objects of the scripting language. Therefore, when using web client script coding, you must follow the ECMAScript standard.

Document object Model (DOM)

DOM (document object Model) is the application program interface (API) of HTML and XML. DOM will plan the entire page into a document at a node level. Each component of a HTML or XML page is some type of node, which in turn contains a different type of data.

Browser object Model (BOM)

IE 3.0 and Netscape Navigator 3.0 provide a feature, BOM (browser object Model), to access and manipulate browser windows. With BOM, developers can move windows, change the text in the status bar, and perform other actions that are not directly related to the content of the page.

Thank you for reading! This is the end of the article on "how javascript is formed". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report