Javascript - Grouping Operator ()

Note

Grouping Operator () for expression.

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

Parens () can’t contain statements.

Example

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

Powered by ComboStrap