[ Web Proxy ]
URL:
Viewing: https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Global_Objects/unescape [Back]  [Original]

unescape() - JavaScript | MDN

MDN Web Docs

View in English Always switch to English

unescape()

Deprecated

Avoid using this feature in new projects. TC39 included the escape() and unescape() methods in Annex B of the ECMAScript specification, which covers JavaScript features with "one or more undesirable characteristics and in the absence of legacy usage would be removed." This feature may be a candidate for removal from web standards or browsers.

: unescape() JavaScript decodeURIComponent() decodeURI()

unescape() 16 escape()

js
unescape(str)

str

unescape

unescape() %XX %uXXXX ( X 1 16 ) 16 XX/XXXX % 1 0 16

: RFC 1738 \xXX %XX\uXXXX %uXXXX unescape()

unescape

js
unescape("abc123"); // "abc123"
unescape("%E4%F6%FC"); // ""
unescape("%u0107"); // ""

ECMAScript 2027 LanguageSpecification
# sec-unescape-string


Web Proxy Viewer  |  New URL  |  Original Page