I\'ve got an array of arrays, something like:
[ [1,2,3], [1,2,3], [1,2,3], ]
I would like to transpose it to get the following
One-liner that does not change given array.
a[0].map((col, i) => a.map(([...row]) => row[i]))