ReasonJun

Javascript : ECMA Script 본문

Frontend/Javasciprt

Javascript : ECMA Script

ReasonJun 2023. 6. 6. 13:16
728x90

ECMAScript (or ES) is a standardized scripting language specification that defines the syntax, semantics, and features of the scripting language used by JavaScript. It is the official name for the language commonly known as JavaScript. ECMAScript provides a standardized foundation for implementing and interpreting JavaScript across different platforms and environments.

 

The ECMAScript specification is developed and maintained by the Ecma International organization, a standards organization responsible for defining and standardizing various technologies, including JavaScript. The specification goes through a rigorous process of drafting, review, and approval by the Ecma Technical Committee 39 (TC39) to ensure consistency and interoperability among different implementations.

 

Key versions of ECMAScript include:

  1. ECMAScript 5: Released in 2009, ECMAScript 5 introduced significant improvements and new features to JavaScript, including strict mode, array methods (such as forEach, map, filter, etc.), JSON support, property getters and setters, and more.
  2. ECMAScript 6 (ES6) / ECMAScript 2015: Released in 2015, ECMAScript 6 was a major update to the language, bringing numerous enhancements such as arrow functions, classes, modules, template literals, destructuring assignment, promises, and more. ES6 introduced a more modern syntax and expanded the capabilities of JavaScript.
  3. ECMAScript 2016+: Following ES6, ECMAScript transitioned to a yearly release cycle. Each subsequent version introduced a set of new features and improvements. Notable additions include async/await, spread syntax, rest parameters, arrow function syntax enhancements, enhanced object literals, BigInt, optional chaining, nullish coalescing operator, and more.

ECMAScript serves as the foundation for JavaScript, defining the core language features and behaviors that JavaScript engines implement. JavaScript engines, such as V8 in Chrome or SpiderMonkey in Firefox, implement the ECMAScript specification to execute JavaScript code. As new versions of ECMAScript are released, JavaScript engines gradually adopt and implement the new features and syntax improvements.

 

Web developers use ECMAScript features to write modern, efficient, and maintainable JavaScript code. However, it's important to note that not all browsers or environments immediately support the latest ECMAScript versions. Therefore, developers often use transpilers like Babel to convert newer ECMAScript code to an older version that can run on a broader range of platforms and browsers.

 

In summary, ECMAScript is the standardized specification for the scripting language used by JavaScript. It defines the language syntax, semantics, and features, allowing JavaScript code to be consistently executed across different platforms and environments.

728x90
Comments