Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

character to ascii in js

'a'.charCodeAt(0)//returns 97, where '0' is the index of the string 'a'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #character #ascii #js
ADD COMMENT
Topic
Name
1+9 =