Take a look at this code snippet:
rowData = [
[
'2019-12-10 08:00:00', '2019-12-10 08:00:00', '2019-12-10 08:00:00', '2019-12-10 08:00:00', '2019-12-10 08:00:00', '2018-12-10 08:00:00'
],
[
'2017-12-10 08:00:00', '2017-12-10 08:00:00', '2017-12-10 08:00:00', '2017-12-10 08:00:00', '2017-12-10 08:00:00', '2017-12-10 08:00:00'
],
]
How can we merge this array of data in an Angular application?
Check out the expected output:
[
'2019-12-10 08:00:00', '2018-12-10 08:00:00', '2017-12-10 08:00:00'
]