js_sys

Function unescape

source
pub fn unescape(string: &str) -> JsString
Expand description

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.

MDN documentation