From e7dead4a3906bb4289acfee5c13fcea6bd682fa2 Mon Sep 17 00:00:00 2001 From: "Queen Vinyl Da.i'gyu-Kazotetsu" Date: Sun, 30 Jul 2023 09:17:04 -0700 Subject: [PATCH] ko: Make sure localized links are used rather than /en-US/* (part 4) (#14259) * ko: Make sure localized links are used rather than /en-US/* (part 4) * remove untranslated file with check yari validate-redirects --------- Co-authored-by: hochan Lee --- .../operators/async_function/index.md | 6 +- .../reference/operators/await/index.md | 2 +- .../reference/operators/delete/index.md | 2 +- .../destructuring_assignment/index.md | 4 +- .../reference/operators/equality/index.md | 6 +- .../reference/operators/function/index.md | 6 +- .../operators/function_star_/index.md | 4 +- .../reference/operators/in/index.md | 6 +- .../javascript/reference/operators/index.md | 2 +- .../reference/operators/new/index.md | 4 +- .../operators/nullish_coalescing/index.md | 14 ++--- .../operators/optional_chaining/index.md | 4 +- .../reference/operators/yield/index.md | 6 +- .../reference/operators/yield_star_/index.md | 2 +- .../statements/for-await...of/index.md | 2 +- .../reference/statements/for...in/index.md | 8 +-- .../statements/function_star_/index.md | 4 +- .../reference/statements/if...else/index.md | 2 +- .../reference/statements/label/index.md | 6 +- .../reference/statements/return/index.md | 2 +- .../reference/statements/switch/index.md | 10 ++-- .../reference/statements/try...catch/index.md | 2 +- .../reference/statements/var/index.md | 2 +- .../reference/statements/while/index.md | 2 +- .../reference/statements/with/index.md | 8 +-- .../javascript/reference/strict_mode/index.md | 6 +- .../reference/template_literals/index.md | 4 +- .../reference/trailing_commas/index.md | 6 +- files/ko/web/manifest/index.md | 2 +- files/ko/web/media/autoplay_guide/index.md | 2 +- .../media/formats/codecs_parameter/index.md | 4 +- .../web/media/formats/video_codecs/index.md | 60 +++++++++---------- files/ko/web/progressive_web_apps/index.md | 2 +- files/ko/web/security/index.md | 4 +- .../web/security/insecure_passwords/index.md | 2 +- .../transport_layer_security/index.md | 2 +- files/ko/web/svg/attribute/d/index.md | 20 +++---- files/ko/web/svg/element/a/index.md | 4 +- files/ko/web/xml/index.md | 2 +- files/ko/web/xpath/index.md | 12 ++-- files/ko/web/xslt/index.md | 32 +++++----- files/ko/webassembly/concepts/index.md | 2 +- .../webassembly/exported_functions/index.md | 10 ++-- .../webassembly/loading_and_running/index.md | 2 +- .../understanding_the_text_format/index.md | 12 ++-- 45 files changed, 153 insertions(+), 153 deletions(-) diff --git a/files/ko/web/javascript/reference/operators/async_function/index.md b/files/ko/web/javascript/reference/operators/async_function/index.md index d82a51b32682ce..af35aeedde7c79 100644 --- a/files/ko/web/javascript/reference/operators/async_function/index.md +++ b/files/ko/web/javascript/reference/operators/async_function/index.md @@ -6,7 +6,7 @@ slug: Web/JavaScript/Reference/Operators/async_function **`async function`** 키워드는 표현식 내에서 `async` 함수를 정의하기 위해 사용됩니다. -또한 [async function statement](/en-US/docs/Web/JavaScript/Reference/Statements/async_function)을 사용하여 async 함수를 정의할 수 있습니다. +또한 [async function statement](/ko/docs/Web/JavaScript/Reference/Statements/async_function)을 사용하여 async 함수를 정의할 수 있습니다. ## 문법 @@ -36,7 +36,7 @@ slug: Web/JavaScript/Reference/Operators/async_function } ``` -[arrow functions](/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions)를 사용해도 됩니다. +[arrow functions](/ko/docs/Web/JavaScript/Reference/Functions/Arrow_functions)를 사용해도 됩니다. ```js async param => expression @@ -57,7 +57,7 @@ slug: Web/JavaScript/Reference/Operators/async_function ## 설명 -`async function` 표현식은 {{jsxref('Statements/async_function', 'async function 선언')}} 문법과 유사하며, 거의 동일합니다. `async function` 표현식과 `async function` 선언문의 주요 차이점은 익명함수로써의 사용 여부로, `async function` 표현식은 함수 이름을 생략하면 익명함수를 만듭니다. `async function` 표현식은 {{Glossary("IIFE")}}(즉시실행함수)로 사용할 수 있습니다. [`functions`](/en-US/docs/Web/JavaScript/Reference/Functions)문서를 참고하세요. +`async function` 표현식은 {{jsxref('Statements/async_function', 'async function 선언')}} 문법과 유사하며, 거의 동일합니다. `async function` 표현식과 `async function` 선언문의 주요 차이점은 익명함수로써의 사용 여부로, `async function` 표현식은 함수 이름을 생략하면 익명함수를 만듭니다. `async function` 표현식은 {{Glossary("IIFE")}}(즉시실행함수)로 사용할 수 있습니다. [`functions`](/ko/docs/Web/JavaScript/Reference/Functions)문서를 참고하세요. ## 예제 diff --git a/files/ko/web/javascript/reference/operators/await/index.md b/files/ko/web/javascript/reference/operators/await/index.md index c26a2560e6d8cf..6c23fbeffaecd9 100644 --- a/files/ko/web/javascript/reference/operators/await/index.md +++ b/files/ko/web/javascript/reference/operators/await/index.md @@ -22,7 +22,7 @@ slug: Web/JavaScript/Reference/Operators/await 만약 `Promise`가 `reject`되면, `await` 문은 `reject`된 값을 `throw`합니다. -`await` 연산자 다음에 나오는 문의 값이 `Promise`가 아니면 해당 값을 [resolved Promise](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/resolve)로 변환시킵니다. +`await` 연산자 다음에 나오는 문의 값이 `Promise`가 아니면 해당 값을 [resolved Promise](/ko/docs/Web/JavaScript/Reference/Global_Objects/Promise/resolve)로 변환시킵니다. An `await` can split execution flow, allowing the caller of the `await`'s function to resume execution before the deferred continuation of the `await`'s function. After the `await` defers the continuation of its function, if this is the first `await` executed by the function, immediate execution also continues by returning to the function's caller a pending `Promise` for the completion of the `await`'s function and resuming execution of that caller. diff --git a/files/ko/web/javascript/reference/operators/delete/index.md b/files/ko/web/javascript/reference/operators/delete/index.md index f9c7937cd963e1..63067778cd8d11 100644 --- a/files/ko/web/javascript/reference/operators/delete/index.md +++ b/files/ko/web/javascript/reference/operators/delete/index.md @@ -39,7 +39,7 @@ slug: Web/JavaScript/Reference/Operators/delete ## 설명 -일반적으로 생각하고 있는것과는 다르게 `delete` 는 메모리 해제에 관하여 직접적으로 어떠한 작업도 하지 않습니다. 메모리 관리는 breaking references를 통하여 간접적으로 일어납니다. 자세한 걸 알고 싶다면 [memory management](/en-US/docs/Web/JavaScript/Memory_Management) 를 보세요. +일반적으로 생각하고 있는것과는 다르게 `delete` 는 메모리 해제에 관하여 직접적으로 어떠한 작업도 하지 않습니다. 메모리 관리는 breaking references를 통하여 간접적으로 일어납니다. 자세한 걸 알고 싶다면 [memory management](/ko/docs/Web/JavaScript/Memory_Management) 를 보세요. **`delete`**연산자는 오브젝트로 부터 해당 프로퍼티를 삭제합니다. 삭제를 하면 true를 반환, 아니면 false를 반환합니다. 그렇지만 아래 경우를 고려해야만 합니다. diff --git a/files/ko/web/javascript/reference/operators/destructuring_assignment/index.md b/files/ko/web/javascript/reference/operators/destructuring_assignment/index.md index 77fe9259bc8fdd..ef13f31772194f 100644 --- a/files/ko/web/javascript/reference/operators/destructuring_assignment/index.md +++ b/files/ko/web/javascript/reference/operators/destructuring_assignment/index.md @@ -285,7 +285,7 @@ var metadata = { title: "JavaScript-Umgebung" } ], - url: "/en-US/docs/Tools/Scratchpad" + url: "/ko/docs/Tools/Scratchpad" }; var { title: englishTitle, translations: [{ title: localeTitle }] } = metadata; @@ -365,7 +365,7 @@ console.log(foo); // "bar" ### 객체 구조 분해에서 Rest -[Rest/Spread Properties for ECMAScript](https://github.com/tc39/proposal-object-rest-spread) 제안(stage 3)에서는 구조 분해에 [rest](/en-US/docs/Web/JavaScript/Reference/Functions/rest_parameters) 구문을 추가하고 있습니다. rest 속성은 구조 분해 패턴으로 걸러지지 않은 열거형 속성의 키를 가진 나머지 항목들을 모읍니다. +[Rest/Spread Properties for ECMAScript](https://github.com/tc39/proposal-object-rest-spread) 제안(stage 3)에서는 구조 분해에 [rest](/ko/docs/Web/JavaScript/Reference/Functions/rest_parameters) 구문을 추가하고 있습니다. rest 속성은 구조 분해 패턴으로 걸러지지 않은 열거형 속성의 키를 가진 나머지 항목들을 모읍니다. ```js let {a, b, ...rest} = {a: 10, b: 20, c: 30, d: 40} diff --git a/files/ko/web/javascript/reference/operators/equality/index.md b/files/ko/web/javascript/reference/operators/equality/index.md index 09fe24cf426399..f944e4fd38dd1c 100644 --- a/files/ko/web/javascript/reference/operators/equality/index.md +++ b/files/ko/web/javascript/reference/operators/equality/index.md @@ -132,6 +132,6 @@ c == d; // true ## See also -- [Inequality operator](/en-US/docs/Web/JavaScript/Reference/Operators/Inequality) -- [Strict equality operator](/en-US/docs/Web/JavaScript/Reference/Operators/Strict_equality) -- [Strict inequality operator](/en-US/docs/Web/JavaScript/Reference/Operators/Strict_inequality) +- [Inequality operator](/ko/docs/Web/JavaScript/Reference/Operators/Inequality) +- [Strict equality operator](/ko/docs/Web/JavaScript/Reference/Operators/Strict_equality) +- [Strict inequality operator](/ko/docs/Web/JavaScript/Reference/Operators/Strict_inequality) diff --git a/files/ko/web/javascript/reference/operators/function/index.md b/files/ko/web/javascript/reference/operators/function/index.md index e57017aaf01fa9..496a231db7a05c 100644 --- a/files/ko/web/javascript/reference/operators/function/index.md +++ b/files/ko/web/javascript/reference/operators/function/index.md @@ -30,7 +30,7 @@ slug: Web/JavaScript/Reference/Operators/function ## 설명 -함수 표현식(function expression)은 function 문과 매우 비슷하고 구문(syntax)이 거의 같습니다 (자세한 사항은 [function 문](/ko/docs/Web/JavaScript/Reference/Statements/function) 참조). 함수 표현식과 function 문 사이의 주요 차이점은 함수 이름으로, 함수 표현식으로 _익명_ 함수를 만들 경우 이 이름을 생략할 수 있습니다. 함수 표현식은 정의하자마자 실행되는 [IIFE (즉시 호출되는 함수 표현식)](/en-US/docs/Glossary/IIFE)로 사용될 수 있습니다. 더 자세한 정보는 [함수](/ko/docs/Web/JavaScript/Reference/Functions) 장 참조. +함수 표현식(function expression)은 function 문과 매우 비슷하고 구문(syntax)이 거의 같습니다 (자세한 사항은 [function 문](/ko/docs/Web/JavaScript/Reference/Statements/function) 참조). 함수 표현식과 function 문 사이의 주요 차이점은 함수 이름으로, 함수 표현식으로 _익명_ 함수를 만들 경우 이 이름을 생략할 수 있습니다. 함수 표현식은 정의하자마자 실행되는 [IIFE (즉시 호출되는 함수 표현식)](/ko/docs/Glossary/IIFE)로 사용될 수 있습니다. 더 자세한 정보는 [함수](/ko/docs/Web/JavaScript/Reference/Functions) 장 참조. ### Function expression 끌어올리기 @@ -48,7 +48,7 @@ slug: Web/JavaScript/Reference/Operators/function ### 유명(named) 함수 표현식 -함수 몸통 안 쪽에서 현재 함수를 참고하고 싶다면, 유명 함수를 생성해야 합니다. ***이 함수 이름은 함수의 몸통(범위) 안에서만 사용할 수 있습니다***. 이로써 비표준 [`arguments.callee`](/en-US/docs/Web/JavaScript/Reference/Functions/arguments/callee) 속성을 사용하는 것을 피할 수도 있습니다. +함수 몸통 안 쪽에서 현재 함수를 참고하고 싶다면, 유명 함수를 생성해야 합니다. ***이 함수 이름은 함수의 몸통(범위) 안에서만 사용할 수 있습니다***. 이로써 비표준 [`arguments.callee`](/ko/docs/Web/JavaScript/Reference/Functions/arguments/callee) 속성을 사용하는 것을 피할 수도 있습니다. ```js var math = { @@ -63,7 +63,7 @@ slug: Web/JavaScript/Reference/Operators/function math.factit(3) //3;2;1; ``` -함수가 할당된 변수는 `name` 속성을 가지게됩니다. 다른 변수에 할당되더라도 그 name 속성의 값은 변하지 않습니다. 함수의 이름이 생략되었다면, name 속성의 값은 그 변수의 이름(암묵적 이름)이 될 것입니다. 함수의 이름이 있다면 name 속성의 값은 그 함수의 이름(명시적 이름)이 될 것입니다. 이는 [화살표 함수(arrow functions)](/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions)에도 적용됩니다 (화살표 함수는 이름을 가지지 않으므로 해당 변수에 암묵적인 이름만 줄 수 있습니다). +함수가 할당된 변수는 `name` 속성을 가지게됩니다. 다른 변수에 할당되더라도 그 name 속성의 값은 변하지 않습니다. 함수의 이름이 생략되었다면, name 속성의 값은 그 변수의 이름(암묵적 이름)이 될 것입니다. 함수의 이름이 있다면 name 속성의 값은 그 함수의 이름(명시적 이름)이 될 것입니다. 이는 [화살표 함수(arrow functions)](/ko/docs/Web/JavaScript/Reference/Functions/Arrow_functions)에도 적용됩니다 (화살표 함수는 이름을 가지지 않으므로 해당 변수에 암묵적인 이름만 줄 수 있습니다). ```js var foo = function() {} diff --git a/files/ko/web/javascript/reference/operators/function_star_/index.md b/files/ko/web/javascript/reference/operators/function_star_/index.md index da8006c6c3d05e..a1441f688a27b5 100644 --- a/files/ko/web/javascript/reference/operators/function_star_/index.md +++ b/files/ko/web/javascript/reference/operators/function_star_/index.md @@ -28,7 +28,7 @@ slug: Web/JavaScript/Reference/Operators/function* ## Description -`function*` expression 은 {{jsxref('Statements/function*', 'function* statement')}} 과 매우 유사하고 형식도 같습니다. `function*` expression 과 `function*` statement 의 주요한 차이점은 함수명으로,\* _`function_` expressions 에서는 익명 함수로 만들기 위해 함수명이 생략될 수 있습니다.보다 자세한 내용은 [functions](/ko/docs/Web/JavaScript/Reference/Functions) 을 참조하십시오. +`function*` expression 은 {{jsxref('Statements/function*', 'function* statement')}} 과 매우 유사하고 형식도 같습니다. `function*` expression 과 `function*` statement 의 주요한 차이점은 함수명으로, _`function*`_ expressions 에서는 익명 함수로 만들기 위해 함수명이 생략될 수 있습니다.보다 자세한 내용은 [functions](/ko/docs/Web/JavaScript/Reference/Functions) 을 참조하십시오. ## Examples @@ -52,7 +52,7 @@ var x = function*(y) { - {{jsxref("Statements/function*", "function* statement")}} - {{jsxref("GeneratorFunction")}} object -- [The Iterator protocol](/en-US/docs/Web/JavaScript/Guide/The_Iterator_protocol) +- [The Iterator protocol](/ko/docs/Web/JavaScript/Guide/The_Iterator_protocol) - {{jsxref("Operators/yield", "yield")}} - {{jsxref("Operators/yield*", "yield*")}} - {{jsxref("Function")}} object diff --git a/files/ko/web/javascript/reference/operators/in/index.md b/files/ko/web/javascript/reference/operators/in/index.md index bad5c13804f3ce..96d849e198356c 100644 --- a/files/ko/web/javascript/reference/operators/in/index.md +++ b/files/ko/web/javascript/reference/operators/in/index.md @@ -56,7 +56,7 @@ var color2 = "coral"; ### 제거되었거나 정의되지 않은 속성에 대하여 `in` 연산자 사용하기 -`in` 연산자는 [`delete`](/en-US/docs/Web/JavaScript/Reference/Operators/delete) 연산자로 제거된 속성에 대하여 `false`를 반환합니다. +`in` 연산자는 [`delete`](/ko/docs/Web/JavaScript/Reference/Operators/delete) 연산자로 제거된 속성에 대하여 `false`를 반환합니다. ```js var myCar = {company: "Lamborghini", model: "Lamborghini Veneno Roadster", year: 2014}; @@ -100,7 +100,7 @@ trees[3] = undefined; ## 관련 문서 -- [`delete`](/en-US/docs/Web/JavaScript/Reference/Operators/delete) +- [`delete`](/ko/docs/Web/JavaScript/Reference/Operators/delete) - {{jsxref("Object.prototype.hasOwnProperty()")}} - {{jsxref("Reflect.has()")}} -- [속성의, 소유와 셀 수 있는 성질](/en-US/docs/Enumerability_and_ownership_of_properties) +- [속성의, 소유와 셀 수 있는 성질](/ko/docs/Enumerability_and_ownership_of_properties) diff --git a/files/ko/web/javascript/reference/operators/index.md b/files/ko/web/javascript/reference/operators/index.md index c7d39d45e42bcc..c6d5fbe7b634fe 100644 --- a/files/ko/web/javascript/reference/operators/index.md +++ b/files/ko/web/javascript/reference/operators/index.md @@ -181,7 +181,7 @@ slug: Web/JavaScript/Reference/Operators ### 선택적 연결 연산자 - {{JSxRef("Operators/Optional_chaining", "?.")}} - - : 선택적 연결 연산자는 참조가 [nullish](/en-US/docs/Glossary/nullish) ([`null`](/en-US/docs/Web/JavaScript/Reference/Global_Objects/null) 또는 [`undefined`](/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined)) 인 경우 오류를 발생시키는 대신 `undefined`를 반환합니다. + - : 선택적 연결 연산자는 참조가 [nullish](/ko/docs/Glossary/nullish) ([`null`](/ko/docs/Web/JavaScript/Reference/Global_Objects/null) 또는 [`undefined`](/ko/docs/Web/JavaScript/Reference/Global_Objects/undefined)) 인 경우 오류를 발생시키는 대신 `undefined`를 반환합니다. ### 할당 연산자 diff --git a/files/ko/web/javascript/reference/operators/new/index.md b/files/ko/web/javascript/reference/operators/new/index.md index ea9d7584dde646..ac4806cd92d74d 100644 --- a/files/ko/web/javascript/reference/operators/new/index.md +++ b/files/ko/web/javascript/reference/operators/new/index.md @@ -39,9 +39,9 @@ slug: Web/JavaScript/Reference/Operators/new 언제든 이전에 정의된 객체에 속성을 추가할 수 있다. 예를 들면, `car1.color = "black"` 구문은 `color` 속성을 `car1`에 추가하고 해당 속성에 "`black`"이란 값을 할당한다. 그러나, 이것이 다른 객체들에게는 영향을 주지 않는다. 동일한 타입의 모든 객체들에게 새로운 속성을 추가하려면, `Car` 객체 타입의 정의에 이 속성을 추가해야한다. -[`Function.prototype`](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/prototype) 속성을 사용하여 이전에 정의된 객체 타입에 공유 속성을 추가할 수 있다. 이것은 객체 타입의 인스턴스 하나에만 적용되는 것이 아니라 이 함수로 생성하는 모든 객체와 공유하는 속성을 정의한다. +[`Function.prototype`](/ko/docs/Web/JavaScript/Reference/Global_Objects/Function/prototype) 속성을 사용하여 이전에 정의된 객체 타입에 공유 속성을 추가할 수 있다. 이것은 객체 타입의 인스턴스 하나에만 적용되는 것이 아니라 이 함수로 생성하는 모든 객체와 공유하는 속성을 정의한다. -다음의 코드는 `car` 타입의 모든 객체에 "`original color`" 값을 갖는 color 속성을 추가한다. 그리고 `car1` 객체 인스턴스에서만 이 값을 문자열 "`black`"으로 덮어쓴다. 더 많은 정보는 [prototype](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/prototype)을 참조한다. +다음의 코드는 `car` 타입의 모든 객체에 "`original color`" 값을 갖는 color 속성을 추가한다. 그리고 `car1` 객체 인스턴스에서만 이 값을 문자열 "`black`"으로 덮어쓴다. 더 많은 정보는 [prototype](/ko/docs/Web/JavaScript/Reference/Global_Objects/Function/prototype)을 참조한다. ```js function Car() {} diff --git a/files/ko/web/javascript/reference/operators/nullish_coalescing/index.md b/files/ko/web/javascript/reference/operators/nullish_coalescing/index.md index 8f8a93448b4973..31ad6799b82c02 100644 --- a/files/ko/web/javascript/reference/operators/nullish_coalescing/index.md +++ b/files/ko/web/javascript/reference/operators/nullish_coalescing/index.md @@ -8,7 +8,7 @@ original_slug: Web/JavaScript/Reference/Operators/Nullish_coalescing_operator **널 병합 연산자 (`??`)** 는 왼쪽 피연산자가 [null](/ko/docs/Web/JavaScript/Reference/Global_Objects/null) 또는 [undefined](/ko/docs/Web/JavaScript/Reference/Global_Objects/undefined)일 때 오른쪽 피연산자를 반환하고, 그렇지 않으면 왼쪽 피연산자를 반환하는 논리 연산자이다. -이는 왼쪽 피연산자가 `null` 또는 `undefined` 뿐만 아니라 *[falsy](/en-US/docs/Web/JavaScript/Reference/Operators/Logical_Operators#Description) *값에 해당할 경우 오른쪽 피연산자를 반환하는 [논리 연산자 OR (`||`)](/en-US/docs/Web/JavaScript/Reference/Operators/Logical_Operators#Logical_OR_2)와는 대조된다. 다시 말해 만약 어떤 변수 foo에게 *[falsy](/en-US/docs/Web/JavaScript/Reference/Operators/Logical_Operators#Description) *값( `''` 또는 `0`)을 포함한 값을 제공하기 위해 `||`을 사용하는 것을 고려했다면 예기치 않는 동작이 발생할 수 있다. 하단에 더 많은 예제가 있다. +이는 왼쪽 피연산자가 `null` 또는 `undefined` 뿐만 아니라 _[falsy](/ko/docs/Web/JavaScript/Reference/Operators/Logical_Operators#Description)_ 값에 해당할 경우 오른쪽 피연산자를 반환하는 [논리 연산자 OR (`||`)](/ko/docs/Web/JavaScript/Reference/Operators/Logical_Operators#Logical_OR_2)와는 대조된다. 다시 말해 만약 어떤 변수 foo에게 _[falsy](/ko/docs/Web/JavaScript/Reference/Operators/Logical_Operators#Description)_ 값( `''` 또는 `0`)을 포함한 값을 제공하기 위해 `||`을 사용하는 것을 고려했다면 예기치 않는 동작이 발생할 수 있다. 하단에 더 많은 예제가 있다. 널 병합 연산자는 [연산자 우선 순위](/ko/docs/Web/JavaScript/Reference/Operators/Operator_Precedence)가 다섯번째로 낮은데, `||` 의 바로 아래이며 [조건부 (삼항) 연산자](/ko/docs/Web/JavaScript/Reference/Operators/Conditional_Operator)의 바로 위이다. @@ -26,7 +26,7 @@ original_slug: Web/JavaScript/Reference/Operators/Nullish_coalescing_operator ### 변수에 기본값 할당 -이전에는 변수에 기본값을 할당하고 싶을 때, 논리 연산자 OR ([`||`](/en-US/docs/Web/JavaScript/Reference/Operators/Logical_Operators#Logical_OR_2))을 사용하는 것이 일반적인 패턴이다: +이전에는 변수에 기본값을 할당하고 싶을 때, 논리 연산자 OR ([`||`](/ko/docs/Web/JavaScript/Reference/Operators/Logical_Operators#Logical_OR_2))을 사용하는 것이 일반적인 패턴이다: ```js let foo; @@ -83,7 +83,7 @@ console.log( B() ?? C() ); ### No chaining with AND or OR operators -AND (`&&`) 와 OR 연산자 (`||`)를 `??`와 직접적으로 결합하여 사용하는 것은 불가능하다. 이 경우 [`SyntaxError`](/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError)가 발생된다. +AND (`&&`) 와 OR 연산자 (`||`)를 `??`와 직접적으로 결합하여 사용하는 것은 불가능하다. 이 경우 [`SyntaxError`](/ko/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError)가 발생된다. ```js null || undefined ?? "foo"; // raises a SyntaxError @@ -98,7 +98,7 @@ true || undefined ?? "foo"; // raises a SyntaxError ### Optional chaining 연산자(`?.`)와의 관계 -널 병합 연산자는 명확한 값으로 `undefined`과 `null`을 처리하고, [optional chaining 연산자 (`?.`)](/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining)는 `null` or `undefined`일 수 있는 객체의 속성에 접근할 때 유용하다. +널 병합 연산자는 명확한 값으로 `undefined`과 `null`을 처리하고, [optional chaining 연산자 (`?.`)](/ko/docs/Web/JavaScript/Reference/Operators/Optional_chaining)는 `null` or `undefined`일 수 있는 객체의 속성에 접근할 때 유용하다. ```js let foo = { someFooProp: "hi" }; @@ -142,6 +142,6 @@ console.log(newObj.propC); // 42 ## 참고 -- [The optional chaining operator](/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining) -- [The logical OR (`||`) operator](/en-US/docs/Web/JavaScript/Reference/Operators/Logical_Operators#Logical_OR_2) -- [Default paramaters in functions](/en-US/docs/Web/JavaScript/Reference/Functions/Default_parameters) +- [The optional chaining operator](/ko/docs/Web/JavaScript/Reference/Operators/Optional_chaining) +- [The logical OR (`||`) operator](/ko/docs/Web/JavaScript/Reference/Operators/Logical_Operators#Logical_OR_2) +- [Default paramaters in functions](/ko/docs/Web/JavaScript/Reference/Functions/Default_parameters) diff --git a/files/ko/web/javascript/reference/operators/optional_chaining/index.md b/files/ko/web/javascript/reference/operators/optional_chaining/index.md index 8694ffbe3a5800..97537f69ba1df4 100644 --- a/files/ko/web/javascript/reference/operators/optional_chaining/index.md +++ b/files/ko/web/javascript/reference/operators/optional_chaining/index.md @@ -67,7 +67,7 @@ let result = someInterface.customMethod?.(); #### optional callbacks과 event handlers 다루기 -만약 객체에서 [destructuring assignment](/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment#object_destructuring)로 callbacks 또는 fetch 메서드를 사용한다면, 그 존재 여부를 테스트하지 않으면 함수로 호출할 수 없는 존재 하지 않는 값을 가질 수 있다. `?.`을 사용하면, 다음 추가 테스트를 피할 수 있다: +만약 객체에서 [destructuring assignment](/ko/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment#object_destructuring)로 callbacks 또는 fetch 메서드를 사용한다면, 그 존재 여부를 테스트하지 않으면 함수로 호출할 수 없는 존재 하지 않는 값을 가질 수 있다. `?.`을 사용하면, 다음 추가 테스트를 피할 수 있다: ```js // Written as of ES2019 @@ -97,7 +97,7 @@ function doSomething(onContent, onError) { ### 표현식에서 Optional chaining -optional chaining 연산자를 속성에 표현식으로 접근할 때 대괄호 표기법([the bracket notation of the property accessor](/en-US/docs/Web/JavaScript/Reference/Operators/Property_Accessors#bracket_notation))을 사용할 수 있다: +optional chaining 연산자를 속성에 표현식으로 접근할 때 대괄호 표기법([the bracket notation of the property accessor](/ko/docs/Web/JavaScript/Reference/Operators/Property_Accessors#bracket_notation))을 사용할 수 있다: ```js let nestedProp = obj?.['prop' + 'Name']; diff --git a/files/ko/web/javascript/reference/operators/yield/index.md b/files/ko/web/javascript/reference/operators/yield/index.md index 7c786cfa9fd4cc..00ed3307bcb24b 100644 --- a/files/ko/web/javascript/reference/operators/yield/index.md +++ b/files/ko/web/javascript/reference/operators/yield/index.md @@ -5,7 +5,7 @@ slug: Web/JavaScript/Reference/Operators/yield {{jsSidebar("Operators")}} -`yield` 키워드는 제너레이터 함수 ({{jsxref("Statements/function*", "function*")}} 또는 [레거시 generator](/en-US/docs/Web/JavaScript/Reference/Statements/Legacy_generator_function) 함수)를 중지하거나 재개하는데 사용됩니다. +`yield` 키워드는 제너레이터 함수 ({{jsxref("Statements/function*", "function*")}} 또는 [레거시 generator](/ko/docs/Web/JavaScript/Reference/Statements/Legacy_generator_function) 함수)를 중지하거나 재개하는데 사용됩니다. ## 문법 @@ -14,7 +14,7 @@ slug: Web/JavaScript/Reference/Operators/yield ``` - `expression` - - : 제너레이터 함수에서 [제너레이터 프로토콜](/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#iterator)을 통해 반환할 값을 정의합니다. 값이 생략되면, `undefined를 반환합니다.` + - : 제너레이터 함수에서 [제너레이터 프로토콜](/ko/docs/Web/JavaScript/Reference/Iteration_protocols#iterator)을 통해 반환할 값을 정의합니다. 값이 생략되면, `undefined를 반환합니다.` - `rv` - : 제너레이터 실행을 재개 하기 위해서, optional value을 제너레이터의 `next()` 메서드로 전달하여 반환합니다. @@ -69,7 +69,7 @@ console.log(iterator.next()); // { value: undefined, done: true } ## See also -- [The Iterator protocol](/en-US/docs/Web/JavaScript/Guide/The_Iterator_protocol) +- [The Iterator protocol](/ko/docs/Web/JavaScript/Guide/The_Iterator_protocol) - {{jsxref("Statements/function*", "function*")}} - {{jsxref("Operators/function*", "function* expression")}} - {{jsxref("Operators/yield*", "yield*")}} diff --git a/files/ko/web/javascript/reference/operators/yield_star_/index.md b/files/ko/web/javascript/reference/operators/yield_star_/index.md index 664056f7a97fde..1e255fcdb0c90e 100644 --- a/files/ko/web/javascript/reference/operators/yield_star_/index.md +++ b/files/ko/web/javascript/reference/operators/yield_star_/index.md @@ -112,7 +112,7 @@ console.log(result); // "foo" ## 같이 보기 -- [The Iterator protocol](/en-US/docs/Web/JavaScript/Guide/The_Iterator_protocol) +- [The Iterator protocol](/ko/docs/Web/JavaScript/Guide/The_Iterator_protocol) - {{jsxref("Statements/function*", "function*")}} - {{jsxref("Operators/function*", "function* expression")}} - {{jsxref("Operators/yield", "yield")}} diff --git a/files/ko/web/javascript/reference/statements/for-await...of/index.md b/files/ko/web/javascript/reference/statements/for-await...of/index.md index a4fed939228502..fe27de29a60d55 100644 --- a/files/ko/web/javascript/reference/statements/for-await...of/index.md +++ b/files/ko/web/javascript/reference/statements/for-await...of/index.md @@ -4,7 +4,7 @@ slug: Web/JavaScript/Reference/Statements/for-await...of --- {{jsSidebar("Statements")}} -**`for await...of` 구문**은 보통 비동기에 대응하는 열거자를 나열할 때 쓰이지만, {{jsxref("String")}}, {{jsxref("Array")}}, `Array` 같은 객체 (e.g., {{jsxref("Functions/arguments", "arguments")}} or [`NodeList`](/en-US/docs/Web/API/NodeList)), {{jsxref("TypedArray")}}, {{jsxref("Map")}}, {{jsxref("Set")}} 같은 동기적으로 열거 가능한 객체 또한 가능하며, 사용자가 직접 정의한 동기 또는 비동기 객체도 나열할 수 있도록 해준다. 일반적인 **`for ...of`** 문과 마찬가지로 열거자 심볼이 정의한 속성을 실행하게 되어 열거한 값을 변수로 받아 처리한다. +**`for await...of` 구문**은 보통 비동기에 대응하는 열거자를 나열할 때 쓰이지만, {{jsxref("String")}}, {{jsxref("Array")}}, `Array` 같은 객체 (e.g., {{jsxref("Functions/arguments", "arguments")}} or [`NodeList`](/ko/docs/Web/API/NodeList)), {{jsxref("TypedArray")}}, {{jsxref("Map")}}, {{jsxref("Set")}} 같은 동기적으로 열거 가능한 객체 또한 가능하며, 사용자가 직접 정의한 동기 또는 비동기 객체도 나열할 수 있도록 해준다. 일반적인 **`for ...of`** 문과 마찬가지로 열거자 심볼이 정의한 속성을 실행하게 되어 열거한 값을 변수로 받아 처리한다. ## 구문 diff --git a/files/ko/web/javascript/reference/statements/for...in/index.md b/files/ko/web/javascript/reference/statements/for...in/index.md index 3db6edb3ec0712..3434f2c9dc8a9e 100644 --- a/files/ko/web/javascript/reference/statements/for...in/index.md +++ b/files/ko/web/javascript/reference/statements/for...in/index.md @@ -5,7 +5,7 @@ slug: Web/JavaScript/Reference/Statements/for...in {{jsSidebar("Statements")}} -`for...in`문은 상속된 열거 가능한 속성들을 포함하여 객체에서 문자열로 키가 지정된 모든 열거 가능한 속성에 대해 반복합니다. ([Symbol](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol)로 키가 지정된 속성은 무시합니다.) +`for...in`문은 상속된 열거 가능한 속성들을 포함하여 객체에서 문자열로 키가 지정된 모든 열거 가능한 속성에 대해 반복합니다. ([Symbol](/ko/docs/Web/JavaScript/Reference/Global_Objects/Symbol)로 키가 지정된 속성은 무시합니다.) {{EmbedInteractiveExample("pages/js/statement-forin.html")}} @@ -127,7 +127,7 @@ for (var i = 0 in obj) { // 3 ``` -This nonstandard behavior is now ignored in version 40 and later, and will present a {{jsxref("SyntaxError")}} ("[for-in loop head declarations may not have initializers](/en-US/docs/Web/JavaScript/Reference/Errors/Invalid_for-in_initializer)") error in [strict mode](/en-US/docs/Web/JavaScript/Reference/Strict_mode) ([bug 748550](https://bugzilla.mozilla.org/show_bug.cgi?id=748550) and [bug 1164741](https://bugzilla.mozilla.org/show_bug.cgi?id=1164741)). +This nonstandard behavior is now ignored in version 40 and later, and will present a {{jsxref("SyntaxError")}} ("[for-in loop head declarations may not have initializers](/ko/docs/Web/JavaScript/Reference/Errors/Invalid_for-in_initializer)") error in [strict mode](/ko/docs/Web/JavaScript/Reference/Strict_mode) ([bug 748550](https://bugzilla.mozilla.org/show_bug.cgi?id=748550) and [bug 1164741](https://bugzilla.mozilla.org/show_bug.cgi?id=1164741)). Other engines such as v8 (Chrome), Chakra (IE/Edge), and JSC (WebKit/Safari) are investigating whether to remove the nonstandard behavior as well. @@ -137,8 +137,8 @@ investigating whether to remove the nonstandard behavior as well. - {{jsxref("Statements/for...of", "for...of")}} – a similar statement that iterates over the property _values_ - {{jsxref("Statements/for", "for")}} -- [Iterators and Generator functions](/en-US/docs/Web/JavaScript/Guide/Iterators_and_Generators) (usable with `for...of` syntax) -- [Enumerability and ownership of properties](/en-US/docs/Web/JavaScript/Enumerability_and_ownership_of_properties) +- [Iterators and Generator functions](/ko/docs/Web/JavaScript/Guide/Iterators_and_Generators) (usable with `for...of` syntax) +- [Enumerability and ownership of properties](/ko/docs/Web/JavaScript/Enumerability_and_ownership_of_properties) - {{jsxref("Object.getOwnPropertyNames()")}} - {{jsxref("Object.hasOwn()")}} - {{jsxref("Array.prototype.forEach()")}} diff --git a/files/ko/web/javascript/reference/statements/function_star_/index.md b/files/ko/web/javascript/reference/statements/function_star_/index.md index 1185f761348b60..88e180a43c5760 100644 --- a/files/ko/web/javascript/reference/statements/function_star_/index.md +++ b/files/ko/web/javascript/reference/statements/function_star_/index.md @@ -29,7 +29,7 @@ generator function 은 {{jsxref("Global_Objects/GeneratorFunction", "GeneratorFu Generator는 빠져나갔다가 나중에 다시 돌아올 수 있는 함수입니다. 이때 컨텍스트(변수 값)는 출입 과정에서 저장된 상태로 남아 있습니다. -Generator 함수는 호출되어도 즉시 실행되지 않고, 대신 함수를 위한 [Iterator](/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#iterator) 객체가 반환됩니다. Iterator의 `next()` 메서드를 호출하면 Generator 함수가 실행되어 **{{jsxref("Operators/yield", "yield")}}** 문을 만날 때까지 진행하고, 해당 표현식이 명시하는 Iterator로부터의 반환값을 반환합니다. **{{jsxref("Operators/yield*", "yield*")}}** 표현식을 마주칠 경우, 다른 Generator 함수가 위임(delegate)되어 진행됩니다. +Generator 함수는 호출되어도 즉시 실행되지 않고, 대신 함수를 위한 [Iterator](/ko/docs/Web/JavaScript/Reference/Iteration_protocols#iterator) 객체가 반환됩니다. Iterator의 `next()` 메서드를 호출하면 Generator 함수가 실행되어 **{{jsxref("Operators/yield", "yield")}}** 문을 만날 때까지 진행하고, 해당 표현식이 명시하는 Iterator로부터의 반환값을 반환합니다. **{{jsxref("Operators/yield*", "yield*")}}** 표현식을 마주칠 경우, 다른 Generator 함수가 위임(delegate)되어 진행됩니다. 이후 `next()` 메서드가 호출되면 진행이 멈췄던 위치에서부터 재실행합니다. `next()` 가 반환하는 객체는 `yield`문이 반환할 값(yielded value)을 나타내는 `value` 속성과, Generator 함수 안의 모든 `yield` 문의 실행 여부를 표시하는 boolean 타입의 `done` 속성을 갖습니다. `next()` 를 인자값과 함께 호출할 경우, 진행을 멈췄던 위치의 `yield` 문을 `next()` 메서드에서 받은 인자값으로 치환하고 그 위치에서 다시 실행하게 됩니다. @@ -115,7 +115,7 @@ gen.next('mayonnaise'); // mayonnaise - {{jsxref("Operators/function*", "function* expression")}} - {{jsxref("GeneratorFunction")}} object -- [The Iterator protocol](/en-US/docs/Web/JavaScript/Guide/The_Iterator_protocol) +- [The Iterator protocol](/ko/docs/Web/JavaScript/Guide/The_Iterator_protocol) - {{jsxref("Operators/yield", "yield")}} - {{jsxref("Operators/yield*", "yield*")}} - {{jsxref("Function")}} object diff --git a/files/ko/web/javascript/reference/statements/if...else/index.md b/files/ko/web/javascript/reference/statements/if...else/index.md index 2611d768c8fd0d..5cb5b27991c5a7 100644 --- a/files/ko/web/javascript/reference/statements/if...else/index.md +++ b/files/ko/web/javascript/reference/statements/if...else/index.md @@ -22,7 +22,7 @@ slug: Web/JavaScript/Reference/Statements/if...else - : 참 또는 거짓으로 평가되는 [표현식](/ko/docs/Web/JavaScript/Guide/Expressions_and_Operators#표현식)입니다. - `statement1` - : 조건이 참으로 평가될 경우 실행되는 문입니다. - 중첩된 if구문을 포함하여 어떤 구문이든 쓸 수 있습니다. 다중구문을 사용할 경우 ({ ... })[블럭](/en-US/docs/Web/JavaScript/Reference/Statements/block) 구문 으로 그룹화 하고 실행하지 않으려면 [빈](/en-US/docs/Web/JavaScript/Reference/Statements/Empty) 구문을 사용합니다. + 중첩된 if구문을 포함하여 어떤 구문이든 쓸 수 있습니다. 다중구문을 사용할 경우 ({ ... })[블럭](/ko/docs/Web/JavaScript/Reference/Statements/block) 구문 으로 그룹화 하고 실행하지 않으려면 [빈](/ko/docs/Web/JavaScript/Reference/Statements/Empty) 구문을 사용합니다. - `statement2` - : 이 구문은 조건이 거짓일경우 다른 조항이 있을 때 실행되는 구문입니다. 블록 문과 if문의 중첩을 호함한 모든문이 될 수 있습니다. diff --git a/files/ko/web/javascript/reference/statements/label/index.md b/files/ko/web/javascript/reference/statements/label/index.md index c19429feab2ca0..b5e6396f9b835b 100644 --- a/files/ko/web/javascript/reference/statements/label/index.md +++ b/files/ko/web/javascript/reference/statements/label/index.md @@ -27,7 +27,7 @@ slug: Web/JavaScript/Reference/Statements/label 자바스크립트에는 goto 구문이 없다는 것에 주의. break나 continue에서만 레이블을 사용할 수 있다. -[strict mode](/en-US/docs/Web/JavaScript/Reference/Strict_mode) 코드에서 "let"을 레이블 이름으로 사용할 수 없다. {{jsxref("SyntaxError")}}를 발생시킨다. (let은 허용되지 않는 식별자이다.) +[strict mode](/ko/docs/Web/JavaScript/Reference/Strict_mode) 코드에서 "let"을 레이블 이름으로 사용할 수 없다. {{jsxref("SyntaxError")}}를 발생시킨다. (let은 허용되지 않는 식별자이다.) ## 예제 @@ -145,7 +145,7 @@ ECMAScript 2015에서, 레이블 붙인 함수 선언문은 [web compatibility a L: function F() {} ``` -[strict mode](/en-US/docs/Web/JavaScript/Reference/Strict_mode) 에서는 {{jsxref("SyntaxError")}}를 발생시킨다. +[strict mode](/ko/docs/Web/JavaScript/Reference/Strict_mode) 에서는 {{jsxref("SyntaxError")}}를 발생시킨다. ```js 'use strict'; @@ -153,7 +153,7 @@ L: function F() {} // SyntaxError: functions cannot be labelled ``` -[Generator functions](/en-US/docs/Web/JavaScript/Reference/Statements/function*)는 strict code도 non-strict code에서도 레이블 붙일 수 없다. +[Generator functions](/ko/docs/Web/JavaScript/Reference/Statements/function*)는 strict code도 non-strict code에서도 레이블 붙일 수 없다. ```js L: function* F() {} diff --git a/files/ko/web/javascript/reference/statements/return/index.md b/files/ko/web/javascript/reference/statements/return/index.md index 32c2463ce2ec31..57f3ed428bab5c 100644 --- a/files/ko/web/javascript/reference/statements/return/index.md +++ b/files/ko/web/javascript/reference/statements/return/index.md @@ -43,7 +43,7 @@ return x + y / 3; ### 자동 세미콜론 삽입 -`return` 명령문은 [자동 세미콜론 삽입(ASI)](/en-US/docs/Web/JavaScript/Reference/Lexical_grammar#Automatic_semicolon_insertion)의 영향을 받습니다. `return` 키워드와 표현식 사이에는 줄바꿈 문자가 올 수 없습니다. +`return` 명령문은 [자동 세미콜론 삽입(ASI)](/ko/docs/Web/JavaScript/Reference/Lexical_grammar#Automatic_semicolon_insertion)의 영향을 받습니다. `return` 키워드와 표현식 사이에는 줄바꿈 문자가 올 수 없습니다. ```js return diff --git a/files/ko/web/javascript/reference/statements/switch/index.md b/files/ko/web/javascript/reference/statements/switch/index.md index f9d1e6b79369dd..69bff95197122e 100644 --- a/files/ko/web/javascript/reference/statements/switch/index.md +++ b/files/ko/web/javascript/reference/statements/switch/index.md @@ -5,7 +5,7 @@ slug: Web/JavaScript/Reference/Statements/switch {{jsSidebar("Statements")}} -The **`switch` statement** evaluates an [expression](/en-US/docs/Web/JavaScript/Guide/Expressions_and_Operators), matching the expression's value to a `case` clause, and executes [statements](/en-US/docs/Web/JavaScript/Reference/Statements) associated with that case, as well as statements in cases that follow the matching case. +The **`switch` statement** evaluates an [expression](/ko/docs/Web/JavaScript/Guide/Expressions_and_Operators), matching the expression's value to a `case` clause, and executes [statements](/ko/docs/Web/JavaScript/Reference/Statements) associated with that case, as well as statements in cases that follow the matching case. {{EmbedInteractiveExample("pages/js/statement-switch.html")}} @@ -43,11 +43,11 @@ switch (expression) { ## 설명 -A switch statement first evaluates its expression. It then looks for the first `case` clause whose expression evaluates to the same value as the result of the input expression (using the [strict comparison](/en-US/docs/Web/JavaScript/Reference/Operators/Comparison_Operators), `===`) and transfers control to that clause, executing the associated statements. (If multiple cases match the provided value, the first case that matches is selected, even if the cases are not equal to each other.) +A switch statement first evaluates its expression. It then looks for the first `case` clause whose expression evaluates to the same value as the result of the input expression (using the [strict comparison](/ko/docs/Web/JavaScript/Reference/Operators/Comparison_Operators), `===`) and transfers control to that clause, executing the associated statements. (If multiple cases match the provided value, the first case that matches is selected, even if the cases are not equal to each other.) If no matching `case` clause is found, the program looks for the optional `default` clause, and if found, transfers control to that clause, executing the associated statements. If no `default` clause is found, the program continues execution at the statement following the end of `switch`. By convention, the `default` clause is the last clause, but it does not need to be so. -The optional [`break`](/en-US/docs/Web/JavaScript/Reference/Statements/break) statement associated with each case label ensures that the program breaks out of switch once the matched statement is executed and continues execution at the statement following switch. If `break` is omitted, the program continues execution at the next statement in the `switch` statement. +The optional [`break`](/ko/docs/Web/JavaScript/Reference/Statements/break) statement associated with each case label ensures that the program breaks out of switch once the matched statement is executed and continues execution at the statement following switch. If `break` is omitted, the program continues execution at the next statement in the `switch` statement. ## 예제 @@ -195,7 +195,7 @@ switch (foo) { ### Block-scope variables within `switch` statements -With ECMAScript 2015 (ES6) support made available in most modern browsers, there will be cases where you would want to use [let](/en-US/docs/Web/JavaScript/Reference/Statements/let) and [const](/en-US/docs/Web/JavaScript/Reference/Statements/const) statements to declare block-scoped variables. +With ECMAScript 2015 (ES6) support made available in most modern browsers, there will be cases where you would want to use [let](/ko/docs/Web/JavaScript/Reference/Statements/let) and [const](/ko/docs/Web/JavaScript/Reference/Statements/const) statements to declare block-scoped variables. Take a look at this example: @@ -254,4 +254,4 @@ This code will now output `hello` in the console as it should, without any error ## 같이 보기 -- [`if...else`](/en-US/docs/Web/JavaScript/Reference/Statements/if...else) +- [`if...else`](/ko/docs/Web/JavaScript/Reference/Statements/if...else) diff --git a/files/ko/web/javascript/reference/statements/try...catch/index.md b/files/ko/web/javascript/reference/statements/try...catch/index.md index b765b7625f0ec0..b2b48bc3be4da1 100644 --- a/files/ko/web/javascript/reference/statements/try...catch/index.md +++ b/files/ko/web/javascript/reference/statements/try...catch/index.md @@ -45,7 +45,7 @@ try 선언의 구성은 하나 혹은 그 이상의 선언을 포함한 try 블 하나 이상의 `try` 문을 중첩 할 수 있습니다. 내부의 `try` 문에 `catch` 블록이 없으면, 둘러싼 `try` 문의 `catch` 블록이 입력됩니다. -또한 `try` 문을 사용하여 예외처리를 합니다. 예외처리에 대해 더 알고 싶다면, [JavaScript Guide](/en-US/docs/Web/JavaScript/Guide) 를 참고하세요. +또한 `try` 문을 사용하여 예외처리를 합니다. 예외처리에 대해 더 알고 싶다면, [JavaScript Guide](/ko/docs/Web/JavaScript/Guide) 를 참고하세요. ### 무조건적 `catch` 문 diff --git a/files/ko/web/javascript/reference/statements/var/index.md b/files/ko/web/javascript/reference/statements/var/index.md index dbe90d3c06220a..3d226638be03cf 100644 --- a/files/ko/web/javascript/reference/statements/var/index.md +++ b/files/ko/web/javascript/reference/statements/var/index.md @@ -66,7 +66,7 @@ slug: Web/JavaScript/Reference/Statements/var // 'b' 프로퍼티는 삭제되었고, 어디에도 존재하지 않습니다. ``` -이러한 세가지 다른점 때문에, 변수 선언 오류는 예기치않은 결과로 이어질 가능성이 높습니다. 그러므로 **함수 또는 전역 범위인지 여부와 상관없이, 항상 변수를 선언 하는 것을 추천합니다.** 그리고 ECMAScript 5 안에 [strict mode](/en-US/docs/Web/JavaScript/Reference/Functions_and_function_scope/Strict_mode), 선언되지 않은 변수에 할당하면 오류를 출력합니다. +이러한 세가지 다른점 때문에, 변수 선언 오류는 예기치않은 결과로 이어질 가능성이 높습니다. 그러므로 **함수 또는 전역 범위인지 여부와 상관없이, 항상 변수를 선언 하는 것을 추천합니다.** 그리고 ECMAScript 5 안에 [strict mode](/ko/docs/Web/JavaScript/Reference/Functions_and_function_scope/Strict_mode), 선언되지 않은 변수에 할당하면 오류를 출력합니다. ### var 호이스팅(hoisting) diff --git a/files/ko/web/javascript/reference/statements/while/index.md b/files/ko/web/javascript/reference/statements/while/index.md index 8fa6b82b41715a..d2a7dea7804396 100644 --- a/files/ko/web/javascript/reference/statements/while/index.md +++ b/files/ko/web/javascript/reference/statements/while/index.md @@ -51,5 +51,5 @@ while (n < 3) { ## See also -- [`do...while`](/en-US/docs/Web/JavaScript/Reference/Statements/do...while) +- [`do...while`](/ko/docs/Web/JavaScript/Reference/Statements/do...while) - {{jsxref("Statements/for", "for")}} diff --git a/files/ko/web/javascript/reference/statements/with/index.md b/files/ko/web/javascript/reference/statements/with/index.md index 9a29b3c2bce775..f396ac407af945 100644 --- a/files/ko/web/javascript/reference/statements/with/index.md +++ b/files/ko/web/javascript/reference/statements/with/index.md @@ -19,13 +19,13 @@ slug: Web/JavaScript/Reference/Statements/with - `expression` - : 명령문을 평가할 때 사용되는 범위 체인에 지정된 표현식을 추가합니다. 표현식을 중괄호로 감싸는 것은 필수입니다. - `statement` - - : 모든 구문을 말합니다. 여러개의 명령문을 실행하려면 [블록](/en-US/docs/Web/JavaScript/Reference/Statements/block)명령문 ({...})을 사용하여 해당 명령문을 그룹화 하세요. + - : 모든 구문을 말합니다. 여러개의 명령문을 실행하려면 [블록](/ko/docs/Web/JavaScript/Reference/Statements/block)명령문 ({...})을 사용하여 해당 명령문을 그룹화 하세요. ## Description JavaScript는 규정되지 않은 이름을 포함하는 스크립트 또는 함수의 실행 컨텍스트와 연관된 범위 체인을 검색하여 규정되지 않은 이름을 찾습니다. 'with'문은 해당 개체를 평가하는 동안 이 개체를 해당 범위 체인의 머리글에 추가합니다. 본문에 사용된 규정되지 않은 이름이 범위 체인의 속성과 일치하는 경우 이름은 속성과 속성이 포함 된 개체에 바인딩 됩니다. 그렇지 않으면, {{jsxref("ReferenceError")}} 가 발생됩니다. -
with 를 사용하는 것은 권장하지 않으며, ECMAScript 5 strict mode에서는 금지되어 있습니다. 임시 변수에 액세스 하려는 속성이 있는 객체를 할당하는 것이 좋습니다.
+
with 를 사용하는 것은 권장하지 않으며, ECMAScript 5 strict mode에서는 금지되어 있습니다. 임시 변수에 액세스 하려는 속성이 있는 객체를 할당하는 것이 좋습니다.
### Performance pro & contra @@ -63,7 +63,7 @@ If you call `f([1,2,3], obj)` in an ECMAScript 5 environment, then the `values` ### Using `with` -The following `with` statement specifies that the [`Math`](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math) object is the default object. The statements following the `with` statement refer to the [`PI`](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/PI) property and the [`cos`](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/cos) and [`sin`](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/sin) methods, without specifying an object. JavaScript assumes the `Math` object for these references. +The following `with` statement specifies that the [`Math`](/ko/docs/Web/JavaScript/Reference/Global_Objects/Math) object is the default object. The statements following the `with` statement refer to the [`PI`](/ko/docs/Web/JavaScript/Reference/Global_Objects/Math/PI) property and the [`cos`](/ko/docs/Web/JavaScript/Reference/Global_Objects/Math/cos) and [`sin`](/ko/docs/Web/JavaScript/Reference/Global_Objects/Math/sin) methods, without specifying an object. JavaScript assumes the `Math` object for these references. ```js var a, x, y; @@ -87,6 +87,6 @@ with (Math) { ## See also - {{jsxref("Statements/block", "block")}} -- [Strict mode](/en-US/docs/Web/JavaScript/Reference/Functions_and_function_scope/Strict_mode) +- [Strict mode](/ko/docs/Web/JavaScript/Reference/Functions_and_function_scope/Strict_mode) - {{jsxref("Symbol.unscopables")}} - {{jsxref("Array.@@unscopables", "Array.prototype[@@unscopables]")}} diff --git a/files/ko/web/javascript/reference/strict_mode/index.md b/files/ko/web/javascript/reference/strict_mode/index.md index 1250cf48328f68..9713bf683e8bac 100644 --- a/files/ko/web/javascript/reference/strict_mode/index.md +++ b/files/ko/web/javascript/reference/strict_mode/index.md @@ -15,7 +15,7 @@ slug: Web/JavaScript/Reference/Strict_mode 2. JavaScript 엔진의 최적화 작업을 어렵게 만드는 실수들을 바로잡습니다. 가끔씩 엄격 모드의 코드는 비-엄격 모드의 동일한 코드보다 더 빨리 작동하도록 만들어집니다. 3. 엄격 모드는 ECMAScript의 차기 버전들에서 정의 될 문법을 금지합니다. -코드를 JavaScript의 변형이 제한된 환경에서 동작하도록 하고 싶다면, 엄격 모드로의 변환([transitioning to strict mode](/en-US/docs/Web/JavaScript/Reference/Strict_mode/Transitioning_to_strict_mode))을 참고하세요. +코드를 JavaScript의 변형이 제한된 환경에서 동작하도록 하고 싶다면, 엄격 모드로의 변환([transitioning to strict mode](/ko/docs/Web/JavaScript/Reference/Strict_mode/Transitioning_to_strict_mode))을 참고하세요. ## 엄격모드 적용하기 @@ -51,7 +51,7 @@ function notStrict() { return "I'm not strict."; } ### 모듈에 strict mode 적용 -ECMAScript 2015 는 [JavaScript 모듈](/en-US/docs/Web/JavaScript/Reference/Statements/export)을 소개했습니다. 따라서, 이는 엄격 모드를 적용할 수 있는 3번 째 방법입니다. JavaScript 모듈의 전체 컨텐츠는 엄격 모드 시작을 위한 구문 없이도 자동으로 엄격모드입니다. +ECMAScript 2015 는 [JavaScript 모듈](/ko/docs/Web/JavaScript/Reference/Statements/export)을 소개했습니다. 따라서, 이는 엄격 모드를 적용할 수 있는 3번 째 방법입니다. JavaScript 모듈의 전체 컨텐츠는 엄격 모드 시작을 위한 구문 없이도 자동으로 엄격모드입니다. ```js function strict() { @@ -370,4 +370,4 @@ function baz(){ // kosher - [John Resig - ECMAScript 5 Strict Mode, JSON, and More](http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/) - [ECMA-262-5 in detail. Chapter 2. Strict Mode.](http://dmitrysoshnikov.com/ecmascript/es5-chapter-2-strict-mode/) - [Strict mode compatibility table](http://kangax.github.io/compat-table/es5/#Strict_mode) -- [Transitioning to strict mode](/en-US/docs/Web/JavaScript/Reference/Strict_mode/Transitioning_to_strict_mode) +- [Transitioning to strict mode](/ko/docs/Web/JavaScript/Reference/Strict_mode/Transitioning_to_strict_mode) diff --git a/files/ko/web/javascript/reference/template_literals/index.md b/files/ko/web/javascript/reference/template_literals/index.md index 2d9e842dd2ec41..1b82dd34e92687 100644 --- a/files/ko/web/javascript/reference/template_literals/index.md +++ b/files/ko/web/javascript/reference/template_literals/index.md @@ -159,7 +159,7 @@ t2Closure('Hello', {foo: 'World'}); // "Hello World!" ### Raw strings -태그 지정된 템플릿의 첫 번째 함수 인수에서 사용할 수있는 특별한 `raw` property을 사용하면 [escape sequences](/en-US/docs/Web/JavaScript/Guide/Grammar_and_types#Using_special_characters_in_strings) 처리하지 않고 원시 문자열을 입력 한대로 액세스 할 수 있습니다. +태그 지정된 템플릿의 첫 번째 함수 인수에서 사용할 수있는 특별한 `raw` property을 사용하면 [escape sequences](/ko/docs/Web/JavaScript/Guide/Grammar_and_types#Using_special_characters_in_strings) 처리하지 않고 원시 문자열을 입력 한대로 액세스 할 수 있습니다. ```js function tag(strings) { @@ -235,6 +235,6 @@ escape sequence 제한은 _tagged_ templates에만 적용되며 _untagged_ templ - {{jsxref("String")}} - {{jsxref("String.raw()")}} -- [Lexical grammar](/en-US/docs/Web/JavaScript/Reference/Lexical_grammar) +- [Lexical grammar](/ko/docs/Web/JavaScript/Reference/Lexical_grammar) - [Template-like strings in ES3 compatible syntax](https://gist.github.com/WebReflection/8f227532143e63649804) - ["ES6 in Depth: Template strings" on hacks.mozilla.org](https://hacks.mozilla.org/2015/05/es6-in-depth-template-strings-2/) diff --git a/files/ko/web/javascript/reference/trailing_commas/index.md b/files/ko/web/javascript/reference/trailing_commas/index.md index 94bb88d46f6050..a84746932ade79 100644 --- a/files/ko/web/javascript/reference/trailing_commas/index.md +++ b/files/ko/web/javascript/reference/trailing_commas/index.md @@ -63,7 +63,7 @@ function f(p,) {} (p,) => {}; ``` -Trailing comma는 클래스나 객체의 [메소드 정의](/en-US/docs/Web/JavaScript/Reference/Functions/Method_definitions)에도 사용할 수 있습니다. +Trailing comma는 클래스나 객체의 [메소드 정의](/ko/docs/Web/JavaScript/Reference/Functions/Method_definitions)에도 사용할 수 있습니다. ```js class C { @@ -91,7 +91,7 @@ Math.max(10, 20,); ### 잘못된 trailing comma -함수의 매개변수 정의나 호출에 쉼표만 있을 경우 {{Jsxref("SyntaxError")}}가 발생합니다. 또한, [rest 매개변수](/en-US/docs/Web/JavaScript/Reference/Functions/rest_parameters)를 사용할 때는 trailing comma를 사용할 수 없습니다. +함수의 매개변수 정의나 호출에 쉼표만 있을 경우 {{Jsxref("SyntaxError")}}가 발생합니다. 또한, [rest 매개변수](/ko/docs/Web/JavaScript/Reference/Functions/rest_parameters)를 사용할 때는 trailing comma를 사용할 수 없습니다. ```js example-bad function f(,) {} // SyntaxError: missing formal parameter @@ -104,7 +104,7 @@ function f(...p,) {} // SyntaxError: parameter after rest parameter ## 구조 분해 할당에서의 trailing comma -[구조 분해 할당](/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment)의 좌변에도 trailing comma를 사용할 수 있습니다. +[구조 분해 할당](/ko/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment)의 좌변에도 trailing comma를 사용할 수 있습니다. ```js // Trailing comma가 있는 배열 구조 분해 diff --git a/files/ko/web/manifest/index.md b/files/ko/web/manifest/index.md index 09d5ceed8cc350..a6f1d1b4a45a02 100644 --- a/files/ko/web/manifest/index.md +++ b/files/ko/web/manifest/index.md @@ -13,7 +13,7 @@ slug: Web/Manifest 웹 앱 매니페스트는 다음의 키를 포함할 수 있습니다. 각각의 링크를 클릭해 더 많은 정보를 알아보세요. -{{ListSubpages("/en-US/docs/Web/Manifest")}} +{{ListSubpages("/ko/docs/Web/Manifest")}} ## 예제 diff --git a/files/ko/web/media/autoplay_guide/index.md b/files/ko/web/media/autoplay_guide/index.md index bccaccafd0075c..3574acafbf6708 100644 --- a/files/ko/web/media/autoplay_guide/index.md +++ b/files/ko/web/media/autoplay_guide/index.md @@ -156,7 +156,7 @@ _상세한 내용 추가 예정; 모질라는 아직 자동 재생 방지 기능 ## 자동 재생 기능 정책 -지금까지 설명한 브라우저 측의 자동 재생 관리 및 처리 기능도 있지만, 웹 서버도 자동 재생 여부를 결정할 수 있습니다. {{Glossary("HTTP")}} {{HTTPHeader("Feature-Policy")}} 헤더의 [`autoplay`](/en-US/docs/Web/HTTP/Headers/Feature-Policy/autoplay) 디렉티브가 해당 용도입니다. 존재만 하면 자동 재생할 때 쓸 수 있습니다. 기본적으로 `autoplay`의 allowlist는 `'self'` (_홑따옴표 포함_)이며, 현재 문서와 동일한 domain에만 허용하고 있습니다. +지금까지 설명한 브라우저 측의 자동 재생 관리 및 처리 기능도 있지만, 웹 서버도 자동 재생 여부를 결정할 수 있습니다. {{Glossary("HTTP")}} {{HTTPHeader("Feature-Policy")}} 헤더의 [`autoplay`](/ko/docs/Web/HTTP/Headers/Feature-Policy/autoplay) 디렉티브가 해당 용도입니다. 존재만 하면 자동 재생할 때 쓸 수 있습니다. 기본적으로 `autoplay`의 allowlist는 `'self'` (_홑따옴표 포함_)이며, 현재 문서와 동일한 domain에만 허용하고 있습니다. `'none'`으로 지정하여 전역으로 자동 재생을 막을 수 있습니다. `'*'` 는 모든 도메인에서 전송된 미디어를 자동 재생하도록 허용합니다. 오리진은 하나의 space 문자로 구분 됩니다. diff --git a/files/ko/web/media/formats/codecs_parameter/index.md b/files/ko/web/media/formats/codecs_parameter/index.md index bf5e938fe5a0dd..291c679e523aa8 100644 --- a/files/ko/web/media/formats/codecs_parameter/index.md +++ b/files/ko/web/media/formats/codecs_parameter/index.md @@ -4,7 +4,7 @@ slug: Web/Media/Formats/codecs_parameter original_slug: Web/Media/Formats/코덱파라미터 --- -{{QuickLinksWithSubpages("/en-US/docs/Web/Media")}} +{{QuickLinksWithSubpages("/ko/docs/Web/Media")}} 기본적으로, `video/mp4`, `audio/mpeg` 처럼 {{Glossary("MIME")}} 타입을 통해 미디어 파일 포맷을 명시할 수 있습니다. 하지만 많은 미디어 타입들이-특히 비디오 트랙을 지원하는 경우-가지고 있는 데이터 포맷에 대해 더 상세하고 정확하게 명시할 수 있습니다. 예를들어 [MPEG-4](/ko/docs/Web/Media/Formats/Containers#MP4) 비디오라고 해서 MIME 타입을 `video/mp4`만 명시한다면 정확히 어떤 미디어를 가지고 있는 지 아무 정보도 알 수 없습니다. @@ -144,7 +144,7 @@ av01.P.LLT.DD[.M[.CCC[.cp[.tc[.mc[.F]]]]]] 한자리 숫자 모노크롬 플래그; 0인 경우 비디오는 U, V, Y 성분을 모두 가지고 있습니다. 아닌 경우 전체 비디오 데이터는 Y(휘도) 성분 뿐으로 모노크롬 이미지를 가집니다. 자세한 내용은 - [YUV](/en-US/docs/Web/Media/Formats/Video_concepts#yuv)를 + [YUV](/ko/docs/Web/Media/Formats/Video_concepts#yuv)를 참조하여 YUV 컬러 시스템이 어떻게 동작하는지 알아보세요. 기본 값은 0 (모노크롬 아님)입니다. diff --git a/files/ko/web/media/formats/video_codecs/index.md b/files/ko/web/media/formats/video_codecs/index.md index bf05fdf4ad0c33..5cc2a10255e026 100644 --- a/files/ko/web/media/formats/video_codecs/index.md +++ b/files/ko/web/media/formats/video_codecs/index.md @@ -400,14 +400,14 @@ AV1은 현재 세 프로파일을 제공하며:**main**, **high**, **professiona ISOBMFF[1], MPEG-TS, - MP4, - WebM + MP4, + WebM {{Glossary("RTP")}} / - WebRTC 호환성 + WebRTC 호환성 예 @@ -577,15 +577,15 @@ AVC는 유료 포맷이지만 무수한 특허들이 개입한 여러 단체에 지원 컨테이너 - 3GP, - MP4, - WebM + 3GP, + MP4, + WebM {{Glossary("RTP")}} / - WebRTC 호환 + WebRTC 호환 예 @@ -704,9 +704,9 @@ H.263는 Telenor, Fujitsu, Motorola, Samsung, Hitachi, Polycom, Qualcomm 등 수 컨테이너 지원 - 3GP, - MP4, - 3GP, + MP4, + QuickTime @@ -714,7 +714,7 @@ H.263는 Telenor, Fujitsu, Motorola, Samsung, Hitachi, Polycom, Qualcomm 등 수 {{Glossary("RTP")}} / - WebRTC 호환 + WebRTC 호환 아니오 @@ -892,7 +892,7 @@ HEVC는 상용 포맷이며 여러 특허로 보호받고 있습니다. [MPEG LA {{Glossary("RTP")}} / - WebRTC 호환 + WebRTC 호환 아니오 @@ -1004,14 +1004,14 @@ HEVC는 상용 포맷이며 여러 특허로 보호받고 있습니다. [MPEG LA 지원 컨테이너 - 3GP, - MP4 + 3GP, + MP4 {{Glossary("RTP")}} / - WebRTC 호환 + WebRTC 호환 아니오 @@ -1119,7 +1119,7 @@ HEVC는 상용 포맷이며 여러 특허로 보호받고 있습니다. [MPEG LA {{Glossary("RTP")}} / - WebRTC 호환 + WebRTC 호환 아니오 @@ -1285,10 +1285,10 @@ MPEG-2는 서로 다른 스펙을 가진 여러 프로파일이 있습니다. 지원 컨테이너 - MPEG, + MPEG, MPEG-TS (MPEG Transport Stream), - MP4, - MP4, + QuickTime @@ -1296,7 +1296,7 @@ MPEG-2는 서로 다른 스펙을 가진 여러 프로파일이 있습니다. {{Glossary("RTP")}} / - WebRTC 호환 + WebRTC 호환 아니오 @@ -1410,12 +1410,12 @@ Theora의 단점 중 하나는 오직 8 bit 컬러 모드만을 지원하여 컬 지원 컨테이너 - Ogg + Ogg {{Glossary("RTP")}} / - WebRTC 호환 + WebRTC 호환 아니오 @@ -1517,15 +1517,15 @@ HTML 콘텐츠로써 특히 [WebM](/ko/docs/Web/Media/Formats/Containers#WebM) 지원 컨테이너 - 3GP, - Ogg, - WebM + 3GP, + Ogg, + WebM {{Glossary("RTP")}} / - WebRTC 호환 + WebRTC 호환 예; VP8은 WebRTC의 필수 코덱 중 하나 @@ -1668,15 +1668,15 @@ Safari 지원이 빠져있지만 WebM 컨테이너를 쓸 수 있고 Safari 사 지원 컨테이너 - MP4, - Ogg, - WebM + MP4, + Ogg, + WebM {{Glossary("RTP")}} / - WebRTC 호환 + WebRTC 호환 예 diff --git a/files/ko/web/progressive_web_apps/index.md b/files/ko/web/progressive_web_apps/index.md index 6fd831646414b9..2839feeabca928 100644 --- a/files/ko/web/progressive_web_apps/index.md +++ b/files/ko/web/progressive_web_apps/index.md @@ -52,4 +52,4 @@ PWA는 발견 가능, 설치 가능, 연결 가능해야 하고, 네트워크에 - [Lighthouse](https://developer.chrome.com/docs/lighthouse/overview/) — web-app auditing tool that includes PWA-auditing features - [localForage](https://localforage.github.io/localForage/) — `localStorage`-like _async_ storage, to improve your PWA's offline experience -{{QuickLinksWithSubpages("/en-US/docs/Web/Progressive_web_apps/")}} +{{QuickLinksWithSubpages("/ko/docs/Web/Progressive_web_apps/")}} diff --git a/files/ko/web/security/index.md b/files/ko/web/security/index.md index 622ba63698ceaa..bc2e6e9612db15 100644 --- a/files/ko/web/security/index.md +++ b/files/ko/web/security/index.md @@ -67,7 +67,7 @@ l10n: {{Glossary("Clickjacking", "클릭재킹")}}은 사용자가 기대하는 것과 다른 작업을 수행하는 UI 요소를 클릭하도록 속입니다. - [HTTP X-Frame-Options](/ko/docs/Web/HTTP/Headers/X-Frame-Options) - - : **`X-Frame-Options`** [HTTP](/en-US/docs/Web/HTTP) 응답 헤더는 브라우저가 {{htmlelement("frame")}}, {{htmlelement("iframe")}}, {{htmlelement("embed")}} 또는 {{htmlelement("object")}}에서 페이지를 렌더링하도록 허용해야 하는지 여부를 나타내는 데 사용할 수 있습니다. 사이트는 이를 사용하여 콘텐츠가 다른 사이트에 포함되지 않도록 함으로써 {{Glossary("Clickjacking", "클릭재킹")}} 공격을 피할 수 있습니다. + - : **`X-Frame-Options`** [HTTP](/ko/docs/Web/HTTP) 응답 헤더는 브라우저가 {{htmlelement("frame")}}, {{htmlelement("iframe")}}, {{htmlelement("embed")}} 또는 {{htmlelement("object")}}에서 페이지를 렌더링하도록 허용해야 하는지 여부를 나타내는 데 사용할 수 있습니다. 사이트는 이를 사용하여 콘텐츠가 다른 사이트에 포함되지 않도록 함으로써 {{Glossary("Clickjacking", "클릭재킹")}} 공격을 피할 수 있습니다. - [CSP: frame-ancestors](/ko/docs/Web/HTTP/Headers/Content-Security-Policy/frame-ancestors) - : HTTP {{HTTPHeader("Content-Security-Policy")}} (CSP) **`frame-ancestors`** 지시문은 {{HTMLElement("frame")}}, {{HTMLElement("iframe")}}, {{HTMLElement("object")}}, {{HTMLElement("embed")}}, 또는 {{HTMLElement("applet")}}을 사용하여 페이지를 포함할 수 있는 유효한 부모를 지정합니다. @@ -76,7 +76,7 @@ l10n: - [안전하지 않은 비밀번호](/ko/docs/Web/Security/Insecure_passwords) - : HTTP를 통해 로그인 양식을 제공하는 것은 사용자 암호를 추출하기 위해 사용할 수 있는 다양한 공격으로 인해 특히 위험합니다. 네트워크 도청자는 네트워크를 스니핑하거나 전송 중인 페이지를 수정하여 사용자의 비밀번호를 훔칠 수 있습니다. - [개인 정보 및 :visited 선택자](/ko/docs/Web/CSS/Privacy_and_the_:visited_selector) - - : 2010년 이전에는 [CSS](/en-US/docs/Web/CSS) {{cssxref(":visited")}} 선택자를 사용하여 웹사이트에서 사용자의 검색 기록을 발견하고 사용자가 방문한 사이트를 파악할 수 있었습니다. 이 문제를 완화하기 위해 브라우저는 방문한 링크에서 얻을 수 있는 정보의 양을 제한했습니다. + - : 2010년 이전에는 [CSS](/ko/docs/Web/CSS) {{cssxref(":visited")}} 선택자를 사용하여 웹사이트에서 사용자의 검색 기록을 발견하고 사용자가 방문한 사이트를 파악할 수 있었습니다. 이 문제를 완화하기 위해 브라우저는 방문한 링크에서 얻을 수 있는 정보의 양을 제한했습니다. ## 보안 관련 용어 diff --git a/files/ko/web/security/insecure_passwords/index.md b/files/ko/web/security/insecure_passwords/index.md index 0c358a7f3b82ef..a7dbd6b6f31560 100644 --- a/files/ko/web/security/insecure_passwords/index.md +++ b/files/ko/web/security/insecure_passwords/index.md @@ -52,4 +52,4 @@ Form action이 HTTPS URL 인 경우에도 공격자는 사용자가 받을 페 - [HTTP를 통한 비밀번호는 더 이상 안됩니다, 제발!](https://blog.mozilla.org/tanvi/2016/01/28/no-more-passwords-over-http-please/) — 더 자세한 정보와 FAQ를 가진 블로그. -{{QuickLinksWithSubpages("/en-US/docs/Web/Security")}} +{{QuickLinksWithSubpages("/ko/docs/Web/Security")}} diff --git a/files/ko/web/security/transport_layer_security/index.md b/files/ko/web/security/transport_layer_security/index.md index ff5eb1b18af4f5..0df02314b22152 100644 --- a/files/ko/web/security/transport_layer_security/index.md +++ b/files/ko/web/security/transport_layer_security/index.md @@ -91,4 +91,4 @@ TLS 1.3에서 재협상을 제거함으로써, 증명서(certificate)를 이용 - The Mozilla Operations Security (OpSec) team maintains a wiki page with [reference TLS configurations](https://wiki.mozilla.org/Security/Server_Side_TLS). - [Mozilla Observatory](https://observatory.mozilla.org/), [SSL Labs](https://www.ssllabs.com/ssltest/), and [Cipherscan](https://github.com/mozilla/cipherscan) can help you test a site to see how secure its TLS configuration is. -{{QuickLinksWithSubpages("/en-US/docs/Web/Security")}} +{{QuickLinksWithSubpages("/ko/docs/Web/Security")}} diff --git a/files/ko/web/svg/attribute/d/index.md b/files/ko/web/svg/attribute/d/index.md index 75f17cd9a52283..4b93ff7d2b5fe7 100644 --- a/files/ko/web/svg/attribute/d/index.md +++ b/files/ko/web/svg/attribute/d/index.md @@ -346,13 +346,13 @@ Below is a list of all of the attributes available in SVG along with links to re - Core attributes - - : [Core attributes](/en-US/docs/Web/SVG/Attribute/Core) + - : [Core attributes](/ko/docs/Web/SVG/Attribute/Core) {{SVGAttr("id")}}, {{SVGAttr("lang")}}, {{SVGAttr("tabindex")}}, {{SVGAttr("xml:base")}}, {{SVGAttr("xml:lang")}}, {{SVGAttr("xml:space")}} - Style attributes - - : [Style attributes](/en-US/docs/Web/SVG/Attribute/Styling) + - : [Style attributes](/ko/docs/Web/SVG/Attribute/Styling) {{SVGAttr("class")}}, {{SVGAttr("style")}} @@ -365,7 +365,7 @@ Below is a list of all of the attributes available in SVG along with links to re ### Presentation attributes -> **Note:** All [SVG presentation attributes](/en-US/docs/Web/SVG/Attribute/Presentation) can be used as CSS properties. +> **Note:** All [SVG presentation attributes](/ko/docs/Web/SVG/Attribute/Presentation) can be used as CSS properties. - {{SVGAttr("alignment-baseline")}} - {{SVGAttr("baseline-shift")}} @@ -454,30 +454,30 @@ Below is a list of all of the attributes available in SVG along with links to re - Animation event attributes - - : [Animation event attributes](/en-US/docs/Web/SVG/Attribute/Events#animation_event_attributes) + - : [Animation event attributes](/ko/docs/Web/SVG/Attribute/Events#animation_event_attributes) **`onbegin`**, **`onend`**, **`onrepeat`** - Document event attributes - - : [Document event attributes](/en-US/docs/Web/SVG/Attribute/Events#document_event_attributes) + - : [Document event attributes](/ko/docs/Web/SVG/Attribute/Events#document_event_attributes) **`onabort`**, **`onerror`**, **`onresize`**, **`onscroll`**, **`onunload`** - Global event attributes - - : [Global event attributes](/en-US/docs/Web/SVG/Attribute/Events#global_event_attributes) + - : [Global event attributes](/ko/docs/Web/SVG/Attribute/Events#global_event_attributes) **`oncancel`**, **`oncanplay`**, **`oncanplaythrough`**, **`onchange`**, **`onclick`**, **`onclose`**, **`oncuechange`**, **`ondblclick`**, **`ondrag`**, **`ondragend`**, **`ondragenter`**, **`ondragleave`**, **`ondragover`**, **`ondragstart`**, **`ondrop`**, **`ondurationchange`**, **`onemptied`**, **`onended`**, **`onerror`**, **`onfocus`**, **`oninput`**, **`oninvalid`**, **`onkeydown`**, **`onkeypress`**, **`onkeyup`**, **`onload`**, **`onloadeddata`**, **`onloadedmetadata`**, **`onloadstart`**, **`onmousedown`**, **`onmouseenter`**, **`onmouseleave`**, **`onmousemove`**, **`onmouseout`**, **`onmouseover`**, **`onmouseup`**, **`onmousewheel`**, **`onpause`**, **`onplay`**, **`onplaying`**, **`onprogress`**, **`onratechange`**, **`onreset`**, **`onresize`**, **`onscroll`**, **`onseeked`**, **`onseeking`**, **`onselect`**, **`onshow`**, **`onstalled`**, **`onsubmit`**, **`onsuspend`**, **`ontimeupdate`**, **`ontoggle`**, **`onvolumechange`**, **`onwaiting`** - Graphical event attributes - - : [Graphical event attributes](/en-US/docs/Web/SVG/Attribute/Events#graphical_event_attributes) + - : [Graphical event attributes](/ko/docs/Web/SVG/Attribute/Events#graphical_event_attributes) **`onactivate`**, **`onfocusin`**, **`onfocusout`** ## 같이 보기 -- [SVG element reference](/en-US/docs/Web/SVG/Element) -- [SVG Tutorial](/en-US/docs/Web/SVG/Tutorial) -- [SVG interface reference](/en-US/docs/Web/API/Document_Object_Model#svg_interfaces) +- [SVG element reference](/ko/docs/Web/SVG/Element) +- [SVG Tutorial](/ko/docs/Web/SVG/Tutorial) +- [SVG interface reference](/ko/docs/Web/API/Document_Object_Model#svg_interfaces) diff --git a/files/ko/web/svg/element/a/index.md b/files/ko/web/svg/element/a/index.md index a480e0aabda576..985675b4da56a4 100644 --- a/files/ko/web/svg/element/a/index.md +++ b/files/ko/web/svg/element/a/index.md @@ -72,13 +72,13 @@ svg|a:active { 값 유형: **\** ; 기본 값: 없음; 애니메이션 가능: **아니요** - {{SVGAttr("href")}} - : 하이퍼링크가 가리키는 URL 또는 URL 조각입니다. - 값 유형: **[\](/en-US/docs/Web/SVG/Content_type#url)** ; 기본값: 없음; 애니메이션 가능: **예** + 값 유형: **[\](/ko/docs/Web/SVG/Content_type#url)** ; 기본값: 없음; 애니메이션 가능: **예** - {{htmlattrxref("hreflang", "a")}} - : 하이퍼링크가 가리키는 URL 또는 URL 조각의 사람 언어입니다. 값 유형: **\** ; 기본값: 없음; 애니메이션 가능: **예** - {{htmlattrxref("ping", "a")}} {{experimental_inline}} - : 공백으로 구분된 URL 목록으로, 하이퍼링크를 따라갈 때 `PING` 본문이 포함된 {{HTTPMethod("POST")}} 요청이 브라우저에서 전송됩니다(백그라운드에서). 일반적으로 추적에 사용됩니다. 동일한 사용 사례를 다루는 보다 광범위하게 지원되는 기능은 {{domxref("Navigator.sendBeacon()")}}을 참조하십시오. - 값 유형: **[\](/en-US/docs/Web/SVG/Content_type#list-of-ts)** ; 기본값: 없음; 애니메이션 가능: **아니요** + 값 유형: **[\](/ko/docs/Web/SVG/Content_type#list-of-ts)** ; 기본값: 없음; 애니메이션 가능: **아니요** - {{htmlattrxref("referrerpolicy", "a")}} - : {{Glossary("URL")}}을 가져올 때 보내는 [리퍼러](/ko/docs/Web/HTTP/Headers/Referer)입니다. 값 유형: `no-referrer`|`no-referrer-when-downgrade`|`same-origin`|`origin`|`strict-origin`|`origin-when-cross-origin`|`strict-origin-when-cross-origin`|`unsafe-url` ; 기본 값: 없음; 애니메이션 가능: **아니요** diff --git a/files/ko/web/xml/index.md b/files/ko/web/xml/index.md index 0bb1d0b75a9bc2..01386661a7a87c 100644 --- a/files/ko/web/xml/index.md +++ b/files/ko/web/xml/index.md @@ -3,7 +3,7 @@ title: "XML: Extensible Markup Language" slug: Web/XML --- -{{QuickLinksWithSubpages("/en-US/docs/Web/XML")}} +{{QuickLinksWithSubpages("/ko/docs/Web/XML")}} **확장가능한 마크업 언어(XML)는** 엄격하게 직렬화 된 DOM(돔 오브젝트 모델)입니다. diff --git a/files/ko/web/xpath/index.md b/files/ko/web/xpath/index.md index 3a3f93d81a0165..830bd3d6d0882b 100644 --- a/files/ko/web/xpath/index.md +++ b/files/ko/web/xpath/index.md @@ -36,15 +36,15 @@ XPath는 XML 문서의 계층 구조를 항해하기 위해 경로 표기법(URL diff --git a/files/ko/web/xslt/index.md b/files/ko/web/xslt/index.md index 5a866d496ce423..589db6cbb746fc 100644 --- a/files/ko/web/xslt/index.md +++ b/files/ko/web/xslt/index.md @@ -7,47 +7,47 @@ slug: Web/XSLT ## Documentation -- [XSLT Element Reference](/en-US/docs/Web/XSLT/Element) +- [XSLT Element Reference](/ko/docs/Web/XSLT/Element) - : Reference. -- [Transforming XML with XSLT](/en-US/docs/Web/XSLT/Transforming_XML_with_XSLT) +- [Transforming XML with XSLT](/ko/docs/Web/XSLT/Transforming_XML_with_XSLT) - : XSLT는 스타일시트 만든 이가 그러길 바란다면 컨텐트를 모조리 다시 정리하고 다른 형식으로 변환하는 것을 포함하는 컨텐트 조작(manipulating)과 정렬이라는 중요한 두 방식으로 본래 XML 문서를 변환하게 합니다. -- [Using the Mozilla JavaScript interface to XSL Transformations](/en-US/docs/Web/XSLT/Using_the_Mozilla_JavaScript_interface_to_XSL_Transformations) +- [Using the Mozilla JavaScript interface to XSL Transformations](/ko/docs/Web/XSLT/Using_the_Mozilla_JavaScript_interface_to_XSL_Transformations) - : 이 문서는 Mozilla 1.2의 자바스크립트 인터페이스와 XSLT 처리 엔진까지 설명합니다. -- [Specifying parameters using processing instructions](/en-US/docs/Web/XSLT/PI_Parameters) +- [Specifying parameters using processing instructions](/ko/docs/Web/XSLT/PI_Parameters) - : Firefox allows stylesheet parameters to be specified when using the `` processing instruction. This is done using the `` PI described in this document. - [XSLT Tutorial](https://www.w3schools.com/xml/xsl_intro.asp) - : 이 [W3Schools](http://www.w3schools.com) 입문서는 읽는 이에게 XML 문서를 XHTML같은 다른 형식으로 변환하기 위해 어떻게 XSLT를 사용하는지를 가르칩니다. - [What is XSLT?](https://www.xml.com/pub/a/2000/08/holman/) - : XSLT와 XPath에 대한 이 방대한 해설은 두 기술에 대한 지식이 없다고 가정하고, 배경, 문맥, 구조, 개념, 입문 용어를 통해 읽는 이를 이끕니다. -- [Common XSLT Errors](/en-US/docs/Web/XSLT/Common_errors) +- [Common XSLT Errors](/ko/docs/Web/XSLT/Common_errors) - : This article lists some common problems using XSLT in Firefox. ## Related Topics -- [XML](/en-US/docs/Web/XML/XML_introduction), [XPath](/en-US/docs/Web/XPath) +- [XML](/ko/docs/Web/XML/XML_introduction), [XPath](/ko/docs/Web/XPath)