ECMAscript belongs to js. js is a scripting language based on the ECMAScript specification and is encapsulated on this basis. ECMAScript, as a scripting language specification, is one of the three core components of js .
The operating environment of this tutorial: Windows 10 system, JavaScript version 1.8.5, Dell G3 computer.
Does ECMAscript belong to js
JavaScript is a scripting language based on the ECMAScript specification and has its own encapsulation on this basis. ECMAScript is not a programming language, it is just a scripting language specification, formulated and published by the European Computer Association. Any scripting language implemented based on this specification must comply with its conventions.
A common question is, what is the relationship between ECMAScript and JavaScript?
To clarify this issue, we need to review history. In November 1996, Netscape, the creator of JavaScript, decided to submit JavaScript to the International Standardization Organization ECMA, hoping that this language could become an international standard. The following year, ECMA released the first version of Standard Document No. 262 (ECMA-262), which stipulated the standard for browser scripting language and called this language ECMAScript. This version is version 1.0.
This standard has been developed for the JavaScript language from the beginning, but there are two reasons why it is not called JavaScript. One is trademark. Java is a trademark of Sun. According to the licensing agreement, only Netscape can legally use the name JavaScript, and JavaScript itself has been registered as a trademark by Netscape. Second, I want to show that the developer of this language is ECMA, not Netscape, which will help ensure the openness and neutrality of this language.
Therefore, the relationship between ECMAScript and JavaScript is that the former is a specification of the latter, and the latter is an implementation of the former (other ECMAScript dialects include Jscript and ActionScript). In everyday situations, these two words are interchangeable.
The three core components of Js
(1) ECMA is (European Computer Manufacturers Association) which specifies the syntax standard for js.
(2) DOM is the document object model, which specifies the display structure of the document. You can easily delete, add and replace nodes
(3) BOM is the browser object model, which is the browser Some of the built-in functional styles, such as search boxes, settings, and other objects for learning browser window interaction
[Related recommendations: javascript learning tutorial]
The above is the detailed content of Does ECMAscript belong to js?. For more information, please follow other related articles on the PHP Chinese website!