how to add object to array
<h1>how to add object to array</h1>

<p>how can add <strong>a object into a array</strong> (code in javascript or jquery)
for example
what is the problem this code?<br>
    </p>

<pre><code>  function(){
    var a = new array();
    var b = new obejct();
    a[0]=b;
   }
</code></pre>

<p>for example use this code for save many object in array into function1 and call in function2 and use the object in array.</p>

<ol>
<li>how can save object in array</li>
<li>how can get object in array and save it to a variable</li>
</ol>
