Transposing a Matrix in JavaScript | CodeSignal Learn