[−][src]Function js_sys::unescape
pub fn unescape(string: &str) -> JsString
The unescape()
function computes a new string in which hexadecimal escape
sequences are replaced with the character that it represents. The escape sequences might
be introduced by a function like escape
. Usually, decodeURI
or decodeURIComponent
are preferred over unescape
.