In HTML, ecmascript refers to a standardized specification of a scripting language, an object-based programming language that can perform calculations in a host environment and operate computational objects, used to support Web pages Dynamic performance; JavaScript is an implementation of the ECMAScript specification.
The operating environment of this tutorial: Windows 7 system, ECMAScript version 6, Dell G3 computer.
ECMAScript is a scripting programming language standardized by Ecma International (formerly the European Computer Manufacturers Association) through ECMA-262.
ECMAScript is a standardized specification for a scripting language developed by Brendan Edge of Netscape; originally named Mocha, later renamed LiveScript, and finally renamed JavaScript. In December 1995, Sun and Netscape jointly released JavaScript. In November 1996, Netscape submitted JavaScript to the European Computer Manufacturers Association for standardization. The first version of ECMA-262 was adopted by the Ecma organization in June 1997. ECMA Script is the name of the ECMA-262 standardized scripting language. Although JavaScript and JScript are compatible with ECMAScript, they contain functionality beyond ECMAScript.
ECMAScript is an object-based programming language that can perform calculations in a host environment and manipulate computable objects. ECMAScript was first designed as a Web scripting language to support the dynamic presentation of Web pages and provide server-side computing capabilities for Web-based client-server architectures. But as a scripting language, ECMAScript has the same nature as other scripting languages, that is, "used to manipulate, customize, and automate the functions provided by an existing system."
The ECMAScript specification defines what a scripting language implementation should contain, but, because it is extensible, the functionality provided by its implementation may vary greatly from this minimal set. ECMAScript itself is not a scripting language. Just as a collection of beans that perform useful operations in a Web application (for example, Netscape's AWT) is an implementation of Sun's JavaBean specification, JavaScript is an implementation of the ECMAScript specification.
The relationship between JavaScript and ECMAScript
ECMAScript ("ES" for short) is a universal scripting language implemented according to the ECMA-262 standard. The ECMA-262 standard mainly stipulates this It contains the syntax, types, statements, keywords, reserved words, operators, objects and other parts of the language. The latest version of ECMAScript is currently ECMAScript6 (referred to as "ES6").
As for JavaScript, sometimes people regard JavaScript and ECMAScript as the same. In fact, this is not the case. JavaScript contains much more content than what is specified in ECMA-262. Complete JavaScript is composed of the following three It consists of three parts:
Core (ECMAScript): Provides the syntax and basic objects of the language;
Document Object Model (DOM): Provides processing Methods and interfaces for web content;
Browser Object Model (BOM): Provides methods and interfaces for interacting with the browser.
[Related recommendations: javascript learning tutorial]
The above is the detailed content of What is the meaning of ecmascript in html. For more information, please follow other related articles on the PHP Chinese website!