Convert char to int using charCodeAt method in JavaScript. Take first char of the string to convert to an ASCII code. Complete code Output: Another example ...
確定! 回上一頁