For rest of the two digit numbers i . e . , 21 to 99
else { let i = ( num [ x ] . charCodeAt ( 0 ) - ' ' . charCodeAt ( 0 ) ) ; if ( i > 0 ) { ans += tens_multiple [ i ] ; ans += " " ; } else ans += " " ; ++ x ; if ( num [ x ] . charCodeAt ( 0 ) - ' ' . charCodeAt ( 0 ) != 0 ) ans += single_digits [ num [ x ] . charCodeAt ( 0 ) - ' ' . charCodeAt ( 0 ) ] ; } } ++ x ; } return " " ; }