title: JS - Removing duplicate object in an array using lodash
body: <p>For example I have this array:</p>
  
  <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>0: {myfield: "1f974a20-aa59-11e8-9653-ab3419ed3bc9", order: 0, value: ""}
  1: {myfield: "1f974a20-aa59-11e8-9666-ab3419ed3bc9", order: 0, value: ""}
  2: {myfield: "1f974a20-aa59-11e8-9653-ab3419ed3bc9", order: 0, value: "One"}
  3: {myfield: "af7401a0-aa6e-11e8-9653-ab3419ed3bc9", order: 1, value: "Two"}</code></pre>
  </div>
  </div>
  </p>
  
  <p>I wanna be able to loop through it and pop/remove older version of duplicated array, in this example I wanted to keep <strong>Object 2</strong> and pop/remove <strong>Object 0</strong> since they both have exact same myfield</p>
  
  <p>Would it be possible to do this using lodash?</p>