pub fn escape_string(s: &str) -> String
Escape a string for embedding in a JS/TS double-quoted literal. Mirrors: JSON.stringify(str).slice(1, -1)