Function quote_string

Source
pub fn quote_string<E>(out: &mut E, input: &str) -> Result<()>
where E: ElementFormat,
Expand description

Quote a string to make it suitable as a literal JavaScript string.