How to convert ascii value into a character in JavaScript

1 Answer

0 votes
var ascii = 65;
document.write(String.fromCharCode(ascii));

document.write('<br />');

document.write(String.fromCharCode(100));

 
 
     
/*
run:
 
A
d 
          
*/

 



answered Jan 20, 2020 by avibootz
...