A tool for [converting][convert] a sorted series of JavaScript string character offsets in a [text] to code-point offsets.
Converts a JavaScript string char-based offset in [text] to a codepoint offset.
The offset in JavaScript string characters.
RangeError if the [charOffset] is out of bounds of [text], or when its value in this call is smaller than in the previous call.
A tool for [converting][convert] a sorted series of JavaScript string character offsets in a [text] to code-point offsets.