title: getting difference object from two objects using es6
body: <p>Im trying to figure out whats the best way to get an intersection object between two objects using es6.
  by this i mean something like:</p>
  
  <pre><code>a = {a:'a',b:'b',c:'c', d:'d'};
  b = {a:'a',b: '1', c:'c', d:'2', f'!!!'}
  // result I want:
  c = getDifference(a,b)
  //c is now: {b:'1', d:'2'}
  </code></pre>
  
  <p>Is there a short way to do this using es6, or do I need to iterate over the a object using for(in) with Object.keys() and compare, assigning intersections to c?</p>
  
  <pre><code>(a,b) =&gt; {
      const c = {};
      for(const _key in Object.keys(a)){
         if(b[_key] &amp;&amp; b[_key] !== a[_key]){
             c[_key] = b[_key];
         }
      }
      return c;
  }
  </code></pre>
  
  <p>I know loadash/underscore has these kinds of helper functions... but trying to see if es6 has any new short syntax for this, and if not whats the shortest way to do this using vanilla js.</p>