Statement (Definition)

A functional section of a program.


ECMAScript edition - 2

A statement is a discrete instruction in a script that causes something to happen.

The statements in JavaScript can be classified into several categories. Here are the basic set of classifications:

Statements are executed in the order in which they appear in the script source text except when the flow of control is redirected by a conditional switching expression, function call, iterator or jump statement.

See also:break, Compound statement, continue, Empty statement (;), Expression statement, if( ... ) ..., if( ... ) ... else ..., Iteration statement, JavaScript language, Jump statement, Method, Punctuator, return, Script fragment, Semi-colon (;), var, Variable statement, with ...


ECMA 262 edition 2 - section 12

ECMA 262 edition 3 - section 12

Wrox Instant JavaScript - page 16