JavaScript is an implementation of ECMAScript (ES for short). It was invented and promoted by Netscape and has become a scripting language widely used in front-end Web development. The current version of JavaScript has been named ECMAScript 11 (ES11), but the more common name is still JavaScript.
However, it should be noted that JavaScript is not just the implementation of ECMAScript, it also includes extensions such as DOM (Document Object Model) and BOM (Browser Object Model). In actual development, developers usually use JavaScript for tasks such as DOM manipulation and event processing. Therefore, a correct understanding of JavaScript requires not only mastering the syntax of ECMAScript, but also understanding its application scenarios and usage in web development.
Back to ECMAScript, it is a standardized scripting language developed and published by the ECMA International Organization. ECMA-262 is the official file name of the ECMAScript standard, which specifies syntax, types, objects, operators, and more in JavaScript. Since ECMAScript is a standardized language, various implementations such as JavaScript, JScript, ActionScript, etc. must comply with the requirements of the standard.
With the continuous development of web technology, ECMAScript is also constantly updated and iterated, adding more complete syntax, features and APIs. As of now (2021), the latest specification is ECMAScript 12, also known as ECMAScript 2021, which adds some useful functionality and features to the existing ECMAScript 11, such as Promise.any, WeakRefs, etc.
For front-end developers, it is very important to understand the specifications and syntax of ECMAScript. Only by mastering ECMAScript can you respond to different development situations more flexibly and write efficient and maintainable code. At the same time, in the process of learning ECMAScript, you also need to learn more about JavaScript application scenarios and practical skills. Only in this way can you truly become an excellent front-end engineer.
The above is the detailed content of How much is es for javascript?. For more information, please follow other related articles on the PHP Chinese website!