javascript get character number x in string code example Example: js convert order to char String.fromCharCode(65,66,67); // returns 'ABC'