Operators

Grouping operator

Try the free JavaScript compiler

Parentheses control grammatical grouping of an expression. They can make intended precedence clear. They do not themselves convert the expression to a different value type.

Formal Syntax & Structure

javascript syntaxjavascript
(expression)

Parameters & Attributes

NameTypeDescription
expressionexpressionExpression to group.

Working Example

Example Snippetjavascript
console.log((2 + 3) * 4);
JavaScript Reference