title: Remove only one the smallest value in an array. JS
body: <p>Here is the task.
  Given an array of integers, remove the smallest value. Do not mutate the original array/list. If there are multiple elements with the same value, remove the one with a lower index. If you get an empty array/list, return an empty array/list.
  Don't change the order of the elements that are left.</p>
  
  <p>Here is the code, which removes all the smallest values. </p>
  
  <pre><code>function smallest(arr) {
    return arr.filter((it) =&gt; it !== Math.min.apply(null, arr)) 
  }
  </code></pre>
  
  <p>And here is the code, which keeps all duplicates. </p>
  
  <pre><code>const aa = arr.filter((it,index) =&gt; arr.indexOf(it) !== index)
  </code></pre>
  
  <p>I want to combine them somehow to get the result but still couldn't do it. 
  Is it possible to do or need to use another way? 
  Maybe you know how to solve it with reduce?</p>