I would like to check any date conflicts occurring in my date array. I have an array like this.
[['2020-07-03T18:30:00.125000Z','2020-07-04T01:30:00Z'],['2020-07-03T18:30:00.125000Z','2020-07-04T00:30:00Z'],['2020-07-03T18:30:00.125000Z','2020-07-04T00:30:00Z']]
The first date in individual array is start date and end date respectively. What I want to check here is, the first array date is conflicting with the following dates in the array. So that I can assign a person based on the date. One person can assign to a single date time. So anybody knows the perfect ES6 way to solve this?