How to get only the value from an array of objects in javascript with out mention it's key? : <p>I have an array of object like:</p>

<pre><code>var customerArr = [
                  {
                  name:'Tarmizi',
                  address: 'Bintaro'
                  },
                  {
                  name:'Imam',
                  address: 'Pejaten'
                  },
                  {
                  name:'gugi',
                  address: 'Depok'
                  },
                  {
                  name:'een',
                  address: 'Bintaro'
                  }
            ];
</code></pre>

<p>The result I want to is: </p>

<pre><code>Tarmizi
Imam
gugi
een
</code></pre>

<p>I can get the result like above with:</p>

<pre><code>for(customer in customerArr){
    console.log(customerArr[customer].name);    
}
</code></pre>

<p>But in my case the object of array I get from json array by uploading excel file with header has space.</p>

<p>So, I need to get the value of array with out mention of it's key.</p>

<pre><code>for(customer in customerArr){
   console.log(customerArr[customer].name &lt;-- with out .name);    
}
</code></pre>

<p>Thank a lot before</p>
