Lably
Skip to content

ECMAScript

Specification for JavaScript and other programming languages

  • 5 min read
  • 4 chapters

Related on Lably

Through JavaScript, Web page and Web browser

ECMAScript is commonly used for client-side scripting on the World Wide Web, and is increasingly being used for server-side scripting and services using runtime environments such as Node.js, Deno and Bun.

The ECMAScript standard does not include any input/output (I/O), such as networking, storage, or graphics facilities. In practice, the web browser or other runtime system provides JavaScript APIs for I/O.

Standards

Ecma International's Technical Committee 39 publishes multiple standards defining JavaScript, formally known as ECMAScript. These include the language syntax, semantics, libraries, and complementary technologies that support the language. The standards are detailed below.

ECMAScript Language Specification (ECMA-262)

Defines the JavaScript language, formally known as ECMAScript. ECMA-262 only specifies language syntax and the semantics of the core application programming interface (API), such as Array, Function, and globalThis, while valid implementations of JavaScript add their own functionality such as input/output and file system handling.

ECMAScript Internationalization API Specification (ECMA-402)

Defines the JavaScript i18n (Intl) APIs, and is a complement to ECMA-262. Its functionality has been selected from that of internationalization APIs such as those of the International Components for Unicode (ICU) library of the .NET framework, or of the Java platform.

JSON Data Interchange Syntax (ECMA-404)

Defines the JSON (JavaScript Object Notation) syntax, a human-readable open standard file format and data interchange format. It was derived from JavaScript, but is a programming language-independent data format.

Source Map Format Specification (ECMA-426)

Defines the Source map format, used for mapping transpiled source code back to its original sources. The original source map format was created by Joseph Schorr for use by the Closure Inspector minification project, to enable source-level debugging of optimized JavaScript code. In 2024, the source map format was published as an Ecma standard.

Sign in to keep reading

3 more chapters are free with a Lably account.

More in Computing and communication