```typescript
import { toUSVString } from "node:node__util.d.ts";
```
toUSVString(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.