Expression Statement

Top  Previous  Next

Evaluates a given expression.

Description

Evaluates expression and then transfers control to the end point of the expression-statement.

There are various types of expression statements:

Assignment statements - expressions that change the value of of a variable. In general, increment and decrement operators are related to assignment statements.

delete operator - deletes an object property, thus it is used as a statement.

Functions calls - computing the value of a function and assigning it to a variable.