title: Find is not a function error
body: <p>I have an array of objects in javascript like this:</p>
  
  <pre><code>array=[{label: 1, value:e}, {label:1, value: i}, {label: 2, value:l}]
  </code></pre>
  
  <p>I want to find the label when value is l so I'm writing:</p>
  
  <pre><code>array.map((i) =&gt; i.find(item =&gt; item.value === 'l').label)
  </code></pre>
  
  <p>But an error is returning </p>
  
  <blockquote>
    <p>i.find is not a function</p>
  </blockquote>
  
  <p>What am I missing?</p>