var x = (2 + 4) * (2 + 8); // Variable x is equal to 60
Using parenthesis can be extremely useful in ensuring JavaScript performs the arithmetic inside the parenthesis before carrying out the query as a whole.
Consider the difference between the following two statements, one with parentheses and one without: