JavaScript Transpect Rows в столбцы
transpose = m => m[0].map((x,i) => m.map(x => x[i]))
Long Lion
transpose = m => m[0].map((x,i) => m.map(x => x[i]))