Table of Contents

About

Javascript language expression:

An expression produces a value whereas a statement will not.

And therefore, expressions can be:

  • passed where a variable is expected such as as function argument, assignment etc …
  • or returned

Management

Separator

JavaScript allows comma-separated expressions, which evaluate from left to right and return the value of their last subexpression:

y=(x="b",z="c");
console.log(y);

Grouping

see Javascript - Grouping Operator ()

Execution

Documentation / Reference