Lodash - return one of each type
<p>I am just getting into Lodash. I'm sure I am missing something but, how do I remove duplicate entries in an array?</p>

<pre><code> [0,0,0,1,1,1,2,2,2,2]

 -&gt; [0,1,2]
</code></pre>