title: javascript filter method with a conditional
body: <p>Would like to know if there is a way to use the <em>filter</em> method with a condition inside, so in that case, the color cannot be black, therefore the object with the label and value black won't be returned. The code below It's not working as expected...</p>
  
  <pre><code>function mapColors ({ colors } = colorsConfig) {
    return colors.filter(color =&gt; ({
      label: color.text !== 'black',
      value: color.text !== 'black'
    }))
  }
  </code></pre>