(operations)
Parentheses are used to change the order of operations of an expression. For example, 2+2*2
is 6, since multiplication is performed before addition. However, (2+2)*2
is 8, since the addition is performed before multiplication.
:function(params)
A closing parenthesis is also often used to end a function call. Like √(4+5
is 3, but √(4)+5
is 7.
Location[]
for left one
- (
for right one
- )