A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.mozilla.org/pt-BR/docs/Web/JavaScript/Reference/Global_Objects/unescape below:

unescape() - JavaScript | MDN

unescape()

Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

A função

unescape()

obsolta computa uma nova string na qual as sequencias hexadecimal são esquecidas com o caractere que representa. As sequências de escape podem ser introduzidas como funções

escape

. Porque a função 'unescape' está obsoleta, ao invez disso, use

decodeURI

ou

decodeURIComponent

.

Nota: Não use unescape para decodificar URIs, use decodeURI ao invez disso.

Syntax Parâmetros
str

Uma string a ser decodificada.

Valor retornado

Uma nova string na qual alguns caracteres tem que ser 'unescaped'.

Descrição

A função unescape é uma propriedade do objeto global.

Exemplos
unescape("abc123"); // "abc123"
unescape("%E4%F6%FC"); // "äöü"
unescape("%u0107"); // "ć"
Especificações Compatibilidade com navegadores Veja também

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4