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 to analyze the difference between ecmascript and js

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

How to analyze the difference between ecmascript and js, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain in detail for you, people with this need can come to learn, I hope you can gain something.

Differences: 1. Js needs to maintain DOM through document and element objects, but not in ecmascript; 2. Js needs to maintain BOM through window objects, but not in ecmascript.

The operating environment of this tutorial: windows10 system, javascript1.8.5 version, Dell G3 computer.

What is the difference between ecmascript and js

I. concept understanding

ECMAScript is a script programming language standardized by Ecma International (formerly known as the European Association of computer Manufacturers, English name European Computer Manufacturers Association) through ECMA-262. This language is widely used on the World wide Web, it is often called JavaScript or JScript, so it can be understood as a standard of JavaScript, but in fact the latter two are the implementation and extension of the ECMA-262 standard.

Multiple versions of JavaScript:

ScriptEase was developed by Nombas

JavaScript was invented by Netscape, and the JavaScript trademark belongs to Oracle, because sun was acquired by oracle. JavaScript was registered by sun in the early years to represent the language javascript.

JScript was invented by Microsoft

Standardization:

ECMA International

It is an information and telecommunications standards organization of international membership system, which is closely related to enterprises, so the norms and standards formulated by Ecma international are mainly formulated and promoted by all kinds of enterprises. In 1997, the organization issued the standard of MCMA-262, which established the MCMAscript language specification. This is where ECMAscript came from.

ECMA-262 ECMA-262 is the standard for scripting languages developed by the ECMA TC39 group. TC39 members are made up of programmers from companies interested in scripting. The ECMA-262 standard defines the ECMAscript language specification. This standard is also called ECMAscript language Specification (ECMAScript Language Specification), or ES Specification for short. The ES specification is the eighth version since it was released in 1997. ECMAscript is based on several primitive technologies, the most famous being javascript (netscape navigator 2.0) and jscript (microsoft ie3). The latest is the sixth edition of ECMA-262 (ES6 or ES 2015 language specification).

II. Javascript Foundation

Javascript learning includes three aspects:

1. ECMAscript (language core functions are based on ES specification)

2. DOM- js needs to support the maintenance of DOM, through the document,element object. These are not found in ES.

3. BOM- js needs to support the maintenance of BOM, through the window object. These are not found in ES.

JavaScript consists of ECMAScript, DOM and BOM, as shown in the following figure.

(1) ECMAScript: describes the syntax and basic objects of the language.

(2) DOM: document object Model (DOM), which describes the methods and interfaces for dealing with web content.

(3) BOM: browser object model (BOM), which describes the methods and interfaces for interacting with browsers.

What can JavaScript do? It can make web pages interactive, such as responding to user clicks and providing users with a better experience. two。 You can process forms, verify user input, and provide timely feedback to save users time. 3. The page can be created dynamically according to the user's operation. 4 using JavaScript, you can set up some temporary information that cookie stores on the browser.

Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

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