How to decipher these words in js code
\u0422\u0435\u0440\u0440\u0438\u0442\u043E\u0440\u0438\u044F How to decipher these words in js code
\u0422\u0435\u0440\u0440\u0438\u0442\u043E\u0440\u0438\u044F var string = '\u0422\u0435\u0440\u0440\u0438\u0442\u043E\u0440\u0438\u044F'; console.log(unescape(string)); //Территория Because unescape is obsolete, use decodeURI or decodeURIComponent instead.
Source: https://developer.mozilla.org/ru/docs/Web/JavaScript/Reference/Global_Objects/unescape
console.log( decodeURI('\u0422\u0435\u0440\u0440\u0438\u0442\u043E\u0440\u0438\u044F') ) console.log('\u0422\u0435\u0440\u0440\u0438\u0442\u043E\u0440\u0438\u044F') also works excellently? - andreymal\u ? I just saw the unescape unescape , but it is outdated. - Ilya ZelenkoSource: https://ru.stackoverflow.com/questions/279867/
All Articles