char code at in js code example Example: character to ascii javascript "ABC".charCodeAt(0) // returns 65