TypeScript Character number Online
Get code point of first character.
Run details
The output updates as you type. The tool processes input in your browser.
Worked example
Use a non-ASCII character to see why the byte, UTF-16 code unit, and Unicode code point can differ.
A
65
Using this operation in TypeScript
The interactive result uses JavaScript. TypeScript string values use JavaScript runtime semantics. The TypeScript library configuration controls whether the compiler recognizes newer APIs.