Javascript - Grouping Operator ()


Grouping Operator () for expression.

Parens (Parenthesis) are also used to define the function signature

Parens () can’t contain statements.


console.log("Hello "+( typeof userName !== 'undefined' ? userName : "Anonynmous") + ", Welcome ! ");

Discover More
Javascript - Expression

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...
Javascript - Special Characters

Characters that can act as: Expression operator (ie an operator) The beginning of a statement ( [ + Concat or addition - Minus / Division Regular expression Example: / as a regular...

Share this page:
Follow us:
Task Runner