title: How to "merge/concat" an array and an object over a same property into a flat array(using Javascript)?
body: <p>So I have an array with some items: <code>['apple','banana','strawberry','peach','orange']</code>. 
   I also have an object with same items (but not all of them) as properties:</p>
  
  <pre><code>{banana : 0,
  strawberry : 2,
  peach : 1}
  </code></pre>
  
  <p>I want to make a flat array with the items and theis values like the following:</p>
  
  <pre><code>['apple',  'not found'
  'banana',     '0'
  'strawberry,  '2'
  'peach',      '1'
  'orange',  'not found']
  </code></pre>
  
  <p>And at the end i want to write tha data into a csv file. I use the fast-csv module for that. </p>
  
  <p>I tried doing with a for loop. Is there a faster more efficient way?</p>
  
  <p>Edit: changed 2D array to flat array</p>