subtract remaining digits of str1 [ ]
for ( let i = n1 - n2 - 1 ; i >= 0 ; i -- ) { if ( str1 [ i ] == ' ' && carry > 0 ) { str += " " ; continue ; } let sub = ( ( str1 [ i ] . charCodeAt ( ) - ' ' . charCodeAt ( ) ) - carry ) ;