To get the ASCII code of the character at index 0 of a string, what is the correct method?
const str = "A";
str.codeAt(0)
str.asciiAt(0)
str.charCodeAt(0)
str.charCode(0)