Otherwise
else { document . write ( " " ) ; } } if ( x == v . length - 1 ) { document . write ( " " ) ; } else { document . write ( " " ) ; } } document . write ( " " ) ; } return ; } for ( let j = 0 ; j < K ; j ++ ) {