A tool for [converting][convert] a sorted series of code-point offsets in a [text] to JavaScript string character offsets.
Converts a codepoint offset in [text] to a JS-char-based-offset.
The offset in code points.
RangeError if the [codepointOffset] 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 code-point offsets in a [text] to JavaScript string character offsets.