Language concepts

JavaScript language

Try the free JavaScript compiler

JavaScript expresses computations and application behavior. ECMAScript defines the language; facilities such as the DOM and console are supplied by host environments. Choose examples according to the available runtime.

Formal Syntax & Structure

javascript syntaxjavascript
console.log(2 + 3);

Working Example

Example Snippetjavascript
console.log(2 + 3);
JavaScript Reference