Skip to main content

toUSVString

function toUSVString
Jump to headingtoUSVString(string: string): string

Returns the string after replacing any surrogate code points (or equivalently, any unpaired surrogate code units) with the Unicode "replacement character" U+FFFD.

Parameters Jump to heading

Jump to headingstring: string

Return Type Jump to heading

string
Back to top