title: why are objects wrapped in parenthesis in JS?
body: <p>Given the following example:</p>
  
  <pre><code>var foo = {
      root:
          ({
              key1: "Value1",
              key2: "Value2",
              key3: "Value3"
          })
      };
  </code></pre>
  
  <p>What is the difference compared to the following:</p>
  
  <pre><code>var foo = {
      root:
          {
              key1: "Value1",
              key2: "Value2",
              key3: "Value3"
          }
      };
  </code></pre>
  
  <p>In the first example there is an additional parens wrapping the object. What purpose does this serve? Does it have anything to do with scoping? Does it influence the execution in any way?
  Thank you!</p>