pub fn js_string_to_code_units(
cx: &mut JSContext,
data: Handle<'_, Value>,
target: MutableHandle<'_, *mut JSString>,
) -> Result<ConversionResult, Error>Expand description
https://webidl.spec.whatwg.org/#js-DOMString Implements the js to DOMstring conversion, but using an ad-hoc data structure, because current DOMString implementation does not preserve the exact sequence of code units.