title: JavaScript: Is the `if / else` statement faster than the conditional statement in?
body: <p>Consider the following two pieces of code:</p>
  
  <pre><code>var adj=0&gt;grip.y?0&lt;grip.x?0:-180:0&lt;grip.x?-360:-180;
  </code></pre>
  
  <p>and</p>
  
  <pre><code>var adj;    
  if (grip.y &lt; 0) {   
      if (grip.x &gt; 0)
          adj = 0;
      else
          adj = -180;
  }
  else {      
      if (grip.x &gt; 0)
          adj = -360;
      else
          adj = -180;
  }
  </code></pre>
  
  <p>They both produce the same result, but which is faster?</p>