remove intermediary object from map object
<p>I have a couple of these and think (know) that I'm doing something wrong (or could be simpler).  </p>

<pre><code> html:
 &lt;div class='item-to-select' data-global-id='55'&gt;some&lt;/div&gt;


var l=$(this).map(function(){
  t=new Object();
  t.global_id=$(this).data('global-id');
  return t;
 }).get(); 
 var list=l[0]; // want to remove this
</code></pre>

<p>How would I remove this intermediary object? Or a better way</p>

<p>thx</p>
