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

unescape() - JavaScript | MDN

This page was translated from English by the community. Learn more and join the MDN Web Docs community.

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(str) %xx ASCII. , %uxxxx ( ), xxxx.

escape. .. unescape , decodeURI decodeURIComponent .

: unescape URI, decodeURI .

In this article

unescape(str)

Parameters

str

unescape .

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

Specification
ECMAScript 2027 LanguageSpecification
# sec-unescape-string


Web Proxy Viewer  |  New URL  |  Original Page