title: Are parentheses required when assigning values using comparisons?
body: <p>Are parentheses required when assigning values using comparisons? Are there any cross browser problems or odd behavior when not using parentheses in these cases? Please see the following code:</p>
  
  <pre><code>var b1 = a == b ? a &lt; 5 : b &gt;= 5;
  
  var b2 = a &lt;= b ? a &lt; 5 &amp;&amp; c &lt; 10 : a &gt; 5 || c == 15;
  
  return c == a ? b1 &amp;&amp; b2 : b1 || b2;
  </code></pre>
  
  <p>Please note the numbers and vars are completely arbitrary, just wondering about whether or not the syntax is ok. Thanks!</p>