I have this array that I want to check the days that has the job done inside.(In this case Monday)
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) => event.job === 'done')
console.log(freeTime) // I get nothing here?