How do you find the ASCII value of a character in JavaScript?

Luigi Viggiano

You can use the charCodeAt(int) method of String objects to get the character code of a specific char in a string.


  var anyString = 'hello';
0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact