title: What are the Advantages and Disadvantages of using Array over a Function
body: <p>Which if the following two methods is the best / most practical to use?</p>
  
  <pre><code>var arr = (new function (){
      this.Foo = "Foo";
      this.Bar = "Bar";
  });
  </code></pre>
  
  <p>OR</p>
  
  <pre><code>var arr = new Array (
      Foo = "Foo",
      Bar = "Bar"
  )
  </code></pre>
  
  <p>I understand that both of the above can have properties added to them,
  Please note there is currently no application of the above code so no context around the question, but which is more preferred? Thanks</p>