JS Precedence
Operator precedence decides how an expression groups. Parentheses are the clearest way to show an intended exception.
Where to run this
This example uses the JavaScript console playground. Select Run to execute it; the example does not run on this lesson page.
A practical example
console.log(2 + 3 * 4);
console.log((2 + 3) * 4);
What happens
The results are 14 and 20.