Description
Decodes String objects encoded with the escape method.
Syntax
unescape(x)
Parameters
Returns
The unescape method returns a new string that contains the contents of x. All characters encoded with the %xx hexadecimal form are replaced by their ASCII character set equivalents.
Characters encoded in %uxxxx format (Unicode characters) are replaced with the Unicode character with hexadecimal encoding xxxx.
Examples
unescape("Hello%7B%5BWorld%5D%7D")
//The result is: Hello{[World]}