If there exists a sub - array with starting index equal to zero
if ( moduloclass [ 0 ] . length > 0 ) { document . write ( 0 + " " + moduloclass [ 0 ] [ 0 ] ) ; return ; } for ( let i = 1 ; i < N ; i += 1 ) {