title: Evaluating 10 and (10)
body: <p>In JavaScript, what is the difference between evaluating (10) and 10?</p>
  
  <p>If we put an anonymous function inside parenthesis, we can evaluate it directly like this:</p>
  
  <pre><code>(a =&gt; 10)() // returns 10
  </code></pre>
  
  <p>What happens when we write:</p>
  
  <pre><code>(10)
  </code></pre>
  
  <p>Is the parenthesis evaluated, and then the 10 evaluated, and finally the 10 returned? So with (10) we have 2 evaluations, and with 10, we have 1 evaluation?</p>