Unescape invisible characters.
String to unescape.
Unescaped string.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String#escape_sequences
import { unescape } from "@std/internal/diff-str";import { assertEquals } from "@std/assert";assertEquals(unescape("Hello\nWorld"), "Hello\\n\nWorld"); Copy
import { unescape } from "@std/internal/diff-str";import { assertEquals } from "@std/assert";assertEquals(unescape("Hello\nWorld"), "Hello\\n\nWorld");
Unescape invisible characters.