title: How to compare two arrays using lodash (the order matters)
body: <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var arr1=[3,4,5,6,7,1,9];
  var arr2=[1,3,4,6,7,5,9];</code></pre>
  </div>
  </div>
  </p>
  
  <p>I want to compare arr2 to arr1. But the methods <code>difference()</code> and <code>intersection()</code> only seem to find if the two arrays have the same elements or not. I want to compare the two arrays spot by spot like arr1[0] to arr2[0], arr1[1] to arr2[1]. And it should show:</p>
  
  <pre><code>intersection: 6,7,9
  difference: 1,3,4,5
  </code></pre>
  
  <p>How can I achieve this?</p>