Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript convert character to ascii

var x = 'B';
var ascii_code = x.charCodeAt(0);
console.log(ascii_code);
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #javascript #convert #character #ascii
ADD COMMENT
Topic
Name
7+9 =