이 번역은 완료되지 않았습니다. 이 문서를 번역해 주세요.
decodeURIComponent() 함수는 encodeURIComponent 나 비슷한 방법으로 생성된 Uniform Resource Identifier (URI) 컴포넌트를 해독합니다. 구문
decodeURIComponent(encodedURI)
파라메터
encodedURI- 암호화된 Uniform Resource Identifier(URI) 컴포넌트.
리턴 값
이스케이프되지 않은 특정 글자들 중 새로운 문자열.
예외
잘못 사용되었을 경우 URIError ( " malformed URI sequence ") 예외를 발생시킵니다.
설명
암호화된 URI 컴포넌트에서 각각의 이스케이프 시퀀스(확장 문자열)를 자신을 나타내는 문자로 바꿉니다.
예제
키릴문자 URL 컴포넌트의 복호화
decodeURIComponent("JavaScript_%D1%88%D0%B5%D0%BB%D0%BB%D1%8B");
// "JavaScript_шеллы"
사양
브라우저 호환성
We're converting our compatibility data into a machine-readable JSON format.
This compatibility table still uses the old format,
because we haven't yet converted the data it contains.
Find out how you can help!
| Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
|---|---|---|---|---|---|
| Basic support | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) |
| Feature | Android | Chrome for Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
|---|---|---|---|---|---|---|
| Basic support | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) |