javascript char get ascii code example Example: character to ascii javascript String.fromCharCode(65,66,67); // returns 'ABC'