let ch = "h"

let asc = ch.charCodeAt()

console.log(asc) 
by