title: Compare array with object key in javascript
body: <p>I have below array , </p>
  
  <pre><code>["aa","bb"] 
  </code></pre>
  
  <p>I have below object,</p>
  
  <pre><code>{"aa":1,"bb":2,"cc":3}
  </code></pre>
  
  <p>and I need result below,</p>
  
  <pre><code>{"cc":3}
  </code></pre>
  
  <p>I need to compare array with object keys, using looping it is possible,but it take more time for large amount data, is there any other fastest way to get my result without using loop, Anyhelp Appreciated...</p>