Pages

transposée : explication

const A = [ [4,5,6], [1,2,3] ]; 

let At = A[0].map( (_,col) => A.map( (lig,_) => lig[col]));