Print given sentence into its equivalent ASCII form | Function to compute the ASCII value of each character one by one ; Driver function
function ASCIISentence ( str ) { let l = str . length ; let convert ; for ( let i = 0 ; i < l ; i ++ ) { convert = str [ i ] . charCodeAt ( 0 ) ; document . write ( convert ) ; } } let str = " " ; document . write ( " " ) ; ASCIISentence ( str ) ;