JavaScript Program to read a square matrix and print the elements above secondary diagonal
let matrix = new Array ( 5 ) ; for ( let i = 0 ; i < 5 ; i ++ ) { matrix [ i ] = new Array ( 5 ) ; } let row_index , column_index , x = 0 , size = 5 ;