I have bellow this two arrays:
var t1 = ["18:00", "19:00", "20:00"]
var t2 = ["44:00", "23:00", "21:00"]
and I want to group their values in another array like this
var t3 = ["18:00 - 44:00", "19:00 - 23:00", "20:00 - 21:00"]
I tried some things with nested for loops and maps but I didn't even get close to what I expected.
var t3 = t1.map((x, i) => x + ' - ' + t2[i]);(usingmap)