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

What are the main components of javascript

2025-03-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

This article mainly introduces "which parts javascript is mainly composed of". In daily operation, I believe many people have doubts about which parts javascript is mainly composed of. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful for you to answer the doubts about "which parts are mainly composed of javascript?" Next, please follow the editor to study!

Javascript consists of three parts, namely:

1. The ECMAScript part, which refers to the core, is an internationally recognized standard scripting language specification.

2. DOM part refers to the document object model.

3. The BOM part refers to the browser object model.

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:

Grammar

Variables and data types

Keywords and reserved words

Operator

Control statement

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.

At this point, the study of "which parts javascript is mainly composed of" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

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