How to Convert Alphabets to Numbers (and vice versa) in JavaScript
Using UTF (ASCII)
UTF (ASCII) tables can be used to convert alphabets to numbers and vice versa. Each character is assigned a decimal number. For example, "A" would be 65, and "a" would be 97. (Check out this blog for more info)
Alphabets to Numbers
...
ayatakamura.hashnode.dev1 min read