Assignment statements are one major category of
expression statements.
For example:
greeting = "Hello " + name;
i *= 3;
The increment and decrement operators, ++ and --, are related
to assignment statements. These have the side effect of changing
a variable value, just as if an assignment had been
performed:
counter++;
The delete operator has the important side effect of deleting
an object property.
expression statements.
For example:
greeting = "Hello " + name;
i *= 3;
The increment and decrement operators, ++ and --, are related
to assignment statements. These have the side effect of changing
a variable value, just as if an assignment had been
performed:
counter++;
The delete operator has the important side effect of deleting
an object property.