Changes

Jump to: navigation, search

JavaScript Operators

No change in size, 13:33, 5 June 2007
Operator Precedence
<table>
Given the above table then clearly the following expression will multiply x by before adding the result to z because the multiplication operate operator has a higher precedence than the addition operator:
<pre>
</pre>
The use of parentheses can be used to increase the precendence precedence of part of an expression. For example if we put parentheses around the addition in the expression from above that part of the expression will be evaluated first. In the following example:
<pre>
5
edits

Navigation menu