const s = "ABC"; // numeric code of the first char, and the reverse console.log(s.codePointAt(0)); console.log(String.fromCodePoint(65, 66, 67));
codePointAt and fromCodePoint