解碼用 escape 方法進行了編碼的 String 對象。
unescape(charstring)
必選項 charstring 參數是要解碼的 String 對象。
unescape 方法返回一個包含 charstring 內容的字符串值。所有以 %xx 十六進制形式編碼的字符都用 ASCII 字符集中等價的字符代替。
以 %uxxxx 格式(Unicode 字符)編碼的字符用十六進制編碼 xxxx 的 Unicode 字符代替.
注意 unescape 方法不能用于解碼統(tǒng)一資源標識碼 (URI)。解該碼可使用 decodeURI 和 decodeURIComponent 方法。
DecodeURI 方法 | decodeURIComponent 方法 | escape 方法 | String 對象
應用于:Global 對象