devela::_dep::web_sys::js_sys

Function escape

Source
pub fn escape(string: &str) -> JsString
Available on crate feature dep_web_sys only.
Expand description

The escape() function computes a new string in which certain characters have been replaced by a hexadecimal escape sequence.

MDN documentation