Language concepts

ECMAScript specification

Try the free JavaScript compiler

ECMAScript is the standardized language specification underlying JavaScript. Its rules cover declarations, expressions, objects and other language behavior. It does not define every API available in a browser or Node.js.

Formal Syntax & Structure

javascript syntaxjavascript
const amount = 5;

Working Example

Example Snippetjavascript
const amount = 5;console.log(amount);
JavaScript Reference