2 ms·
> s.charAt(x) or s.codePointAt(x) Neither of these are really useful unless you are implementing a font renderer or low level Unicode algorithm - and even then
by account42 1y ago
> s.charAt(x) or s.codePointAt(x)
Neither of these are really useful unless you are implementing a font renderer or low level Unicode algorithm - and even then you usually only want to get the next code point rather than one at an arbitrary position.