Javascript object array comparison
<p>I have two array of objects in javascripts. Like <code>arr1[] = {emp1,emp2,emp3}</code> where inturn <code>emp1</code> has <code>emp1.name</code> and <code>emp1.address</code> as property.  </p>

<p>Something like </p>

<pre><code>arr1={object {name='a',address='b'} {name='c',address='d'} {name='e',address='f'} }. 
arr2={object {name='a',address='b'}}. 
</code></pre>

<p>I wanted to compare <code>name</code> property of two array objects and populate the missing items into another array. So result will be result[]={'c','e'}</p>

<p>Whats is the efficient way in achieving this? I don't expect code, please guide me in the right direction. Thanks.</p>
