From b599c98a48dccf59d508c790fb36735d33e08145 Mon Sep 17 00:00:00 2001 From: kraccoon-dev Date: Wed, 2 Feb 2022 17:14:41 +0900 Subject: remove all id not in heading --- .../ko/web/javascript/reference/global_objects/decodeuri/index.html | 2 +- .../reference/global_objects/decodeuricomponent/index.html | 2 +- .../ko/web/javascript/reference/global_objects/encodeuri/index.html | 6 +++--- .../reference/global_objects/encodeuricomponent/index.html | 2 +- files/ko/web/javascript/reference/global_objects/isnan/index.html | 2 +- files/ko/web/javascript/reference/statements/for...in/index.html | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) (limited to 'files/ko/web/javascript/reference') diff --git a/files/ko/web/javascript/reference/global_objects/decodeuri/index.html b/files/ko/web/javascript/reference/global_objects/decodeuri/index.html index bb29400506..7e980efb4c 100644 --- a/files/ko/web/javascript/reference/global_objects/decodeuri/index.html +++ b/files/ko/web/javascript/reference/global_objects/decodeuri/index.html @@ -34,7 +34,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/decodeURI

설명

-

암호화된 URI의 각 이스케이프 시퀀스(확장문자열)를 자신을 나타내는 문자로 바꾸지만 {{jsxref ( "encodeURI")}}에서 도입할 수 없었던 이스케이프 시퀀스는 해독하지 않습니다. "#"문자는 이스케이프 시퀀스에서 해독되지 않습니다.

+

암호화된 URI의 각 이스케이프 시퀀스(확장문자열)를 자신을 나타내는 문자로 바꾸지만 {{jsxref ( "encodeURI")}}에서 도입할 수 없었던 이스케이프 시퀀스는 해독하지 않습니다. "#"문자는 이스케이프 시퀀스에서 해독되지 않습니다.

예제

diff --git a/files/ko/web/javascript/reference/global_objects/decodeuricomponent/index.html b/files/ko/web/javascript/reference/global_objects/decodeuricomponent/index.html index d263252cbf..6cae8361ae 100644 --- a/files/ko/web/javascript/reference/global_objects/decodeuricomponent/index.html +++ b/files/ko/web/javascript/reference/global_objects/decodeuricomponent/index.html @@ -31,7 +31,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/decodeURIComponent

예외

-

잘못 사용되었을 경우 {{jsxref ( "URIError")}} ( " malformed URI sequence ") 예외를 발생시킵니다.

+

잘못 사용되었을 경우 {{jsxref ( "URIError")}} ( " malformed URI sequence ") 예외를 발생시킵니다.

설명

diff --git a/files/ko/web/javascript/reference/global_objects/encodeuri/index.html b/files/ko/web/javascript/reference/global_objects/encodeuri/index.html index 9a5ddb325a..1345eb329e 100644 --- a/files/ko/web/javascript/reference/global_objects/encodeuri/index.html +++ b/files/ko/web/javascript/reference/global_objects/encodeuri/index.html @@ -33,11 +33,11 @@ translation_of: Web/JavaScript/Reference/Global_Objects/encodeURI

설명

-

encodeURI() 함수는 URI에서 특별한 뜻을 가진 문자(예약 문자)는 인코딩 하지 않습니다. 아래 예제는 "URI 도식"이 포함할 수 있는 모든 부분을 담고 있습니다. 일부 문자가 어떤 방식으로 특별한 의미를 주입하고 있는지 잘 살펴보세요.

+

encodeURI() 함수는 URI에서 특별한 뜻을 가진 문자(예약 문자)는 인코딩 하지 않습니다. 아래 예제는 "URI 도식"이 포함할 수 있는 모든 부분을 담고 있습니다. 일부 문자가 어떤 방식으로 특별한 의미를 주입하고 있는지 잘 살펴보세요.

http://username:password@www.example.com:80/path/to/file.php?foo=316&bar=this+has+spaces#anchor
-

따라서 encodeURI()는 완전한 URI를 형성하는데 필요한 문자는 인코딩 하지 않습니다. 또한, 예약된 목적을 가지지는 않지만 URI가 그대로 포함할 수 있는 몇 가지 문자("비예약 표식")도 인코딩 하지 않습니다. (RFC 2396을 참고하세요)

+

따라서 encodeURI()는 완전한 URI를 형성하는데 필요한 문자는 인코딩 하지 않습니다. 또한, 예약된 목적을 가지지는 않지만 URI가 그대로 포함할 수 있는 몇 가지 문자("비예약 표식")도 인코딩 하지 않습니다. (RFC 2396을 참고하세요)

encodeURI() 는 다음 문자를 제외한 문자를 이스케이프 합니다.

@@ -65,7 +65,7 @@ console.log(encodeURIComponent(set3)); // ABC%20abc%20123 (공백은 %20으로

encodeURI() 혼자서는 {{domxref("XMLHttpRequest")}} 등이 사용할, 적합한 HTTP {{httpmethod("GET")}}과 {{httpmethod("POST")}} 요청을 구성할 수 없습니다. GETPOST에서 특별한 문자로 취급하는 "&", "+", "="를 인코딩 하지 않기 때문입니다. 그러나 encodeURIComponent()는 저 세 문자도 인코딩 대상에 포함합니다.

-

상위-하위 쌍을 이루지 않은 단일 대리 문자를 인코딩 시도하면 {{jsxref("URIError")}}가 발생합니다.

+

상위-하위 쌍을 이루지 않은 단일 대리 문자를 인코딩 시도하면 {{jsxref("URIError")}}가 발생합니다.

// high-low pair ok
 console.log(encodeURIComponent('\uD800\uDFFF'));
diff --git a/files/ko/web/javascript/reference/global_objects/encodeuricomponent/index.html b/files/ko/web/javascript/reference/global_objects/encodeuricomponent/index.html
index 2174301e64..3208e449d3 100644
--- a/files/ko/web/javascript/reference/global_objects/encodeuricomponent/index.html
+++ b/files/ko/web/javascript/reference/global_objects/encodeuricomponent/index.html
@@ -58,7 +58,7 @@ console.log(encodeURIComponent(set3)); // %23
 console.log(encodeURIComponent(set4)); // ABC%20abc%20123 (the space gets encoded as %20)
 
-

상위-하위 쌍을 이루지 않은 단일 대리 문자를 인코딩 시도하면 {{jsxref("URIError")}}가 발생합니다.

+

상위-하위 쌍을 이루지 않은 단일 대리 문자를 인코딩 시도하면 {{jsxref("URIError")}}가 발생합니다.

// high-low pair ok
 console.log(encodeURIComponent('\uD800\uDFFF'));
diff --git a/files/ko/web/javascript/reference/global_objects/isnan/index.html b/files/ko/web/javascript/reference/global_objects/isnan/index.html
index 906e6344eb..ddc5c66da4 100644
--- a/files/ko/web/javascript/reference/global_objects/isnan/index.html
+++ b/files/ko/web/javascript/reference/global_objects/isnan/index.html
@@ -41,7 +41,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/isNaN
 
 

예를 들어 0을 0으로 나누면 NaN이지만, 다른 수를 0으로 나누면 그렇지 않습니다.

-

혼란스러운 특별 케이스 행동

+

혼란스러운 특별 케이스 행동

isNaN 함수 스펙의 아주 초기 버전 이후로, 숫자 아닌 인수를 위한 행동이 혼란스럽습니다. isNaN 함수의 인수가 Number 형이 아닌 경우, 그 값은 먼저 숫자로 강제됩니다. 결과값은 그 뒤에 {{jsxref("NaN")}}인지 결정하기 위해 테스트됩니다. 따라서 숫자 형으로 강제된 결과 유효한 비 NaN 숫자값(특히 강제될 때 숫자값이 0 또는 1을 주는 빈 문자열 및 불린 원시형)이 되는 비 숫자의 경우, "false" 반환값은 예기치 않을 수 있습니다; 예를 들어 빈 문자열은 분명히 "not a number"입니다. 혼란(confusion)은 용어 "not a number"가 IEEE-754 부동 소수점 값으로 표현된 숫자에 특정 의미가 있다는 사실에서 생깁니다. 함수는 "이 값이, 숫자값으로 강제되는 경우, IEEE-754 'Not A Number' 값인가?"라는 질문에 답하는 것으로 해석되어야 합니다.

diff --git a/files/ko/web/javascript/reference/statements/for...in/index.html b/files/ko/web/javascript/reference/statements/for...in/index.html index 5748e2f097..49e23820bc 100644 --- a/files/ko/web/javascript/reference/statements/for...in/index.html +++ b/files/ko/web/javascript/reference/statements/for...in/index.html @@ -40,7 +40,7 @@ translation_of: Web/JavaScript/Reference/Statements/for...in

배열의 반복과 for...in

-
+

Note: for...in 인덱스의 순서가 중요한 {{jsxref("Array")}}에서 반복을 위해 사용할 수 없습니다.

-- cgit v1.2.3-54-g00ecf