how to change a string into a char int value in javascript code example Example: javascript string to ascii array String.fromCharCode('a');