Unescaped string.
assert(`a\\next\nline\top`.unescapeValue() == "a\\next\nline\top"); // notice how the string on the left is raw. assert(`\\next\nline\top`.unescapeValue() == "\\next\nline\top"); assert(`a\\next\nline\top`.dup.unescapeValue() == "a\\next\nline\top".dup);
escapeValue
Unescapes string. You should unescape values returned by library before displaying until you want keep them as is (e.g., to allow user to edit values in escaped form).