Since length of the string should be greater than 0 and first element of array should be 1
if ( N < 1 A [ 0 ] != 1 ) { S = " " ; return S ; } S += ch ; ch = String . fromCharCode ( ch . charCodeAt ( 0 ) + 1 ) ;