Language concepts

Binding

Try the free JavaScript compiler

A binding associates an identifier with a value in an environment. Creation, initialization and subsequent assignment are separate operations. Mutability concerns whether the binding can be assigned again; it does not specify the mutability of an object held by the binding.

Formal Syntax & Structure

javascript syntaxjavascript
let total = 0;

Working Example

Example Snippetjavascript
let total = 0;total = 6;console.log(total);
JavaScript Reference