title: How to filter an array inside of an array of objects?
body: <p>I have this array that I want to check the days that has the job done inside.(In this case Monday)</p>
  
  <pre><code>const done = [
   {days:["Monday", "Tuesday", "Friday"] ,job: ["done", "not yet", "done"]},
   {days:["Monday", "Tuesday", "Friday"] ,job: ["done", "done", "done"]},
   {days:["Monday", "Tuesday", "Friday"] ,job: ["done", "not yet", "not yet"]},
  ]
  
   const freeTime = done
    .filter((event) =&gt; event.job === 'done')
  console.log(freeTime) // I get nothing here?
  </code></pre>