From 91bca910871ea185e7970937a9739dbbf3d223a9 Mon Sep 17 00:00:00 2001 From: alattalatta Date: Mon, 26 Jul 2021 22:51:29 +0900 Subject: Remove hidden/noinclude from JS docs (#1583) --- .../a_re-introduction_to_javascript/index.html | 2 -- files/ko/web/javascript/guide/functions/index.html | 4 ---- .../reference/classes/extends/index.html | 4 ---- .../classes/public_class_fields/index.html | 4 ---- .../javascript/reference/classes/static/index.html | 4 ---- .../functions/default_parameters/index.html | 4 ---- .../reference/functions/rest_parameters/index.html | 6 ------ .../global_objects/array/entries/index.html | 4 ---- .../global_objects/array/flatmap/index.html | 4 ---- .../global_objects/array/slice/index.html | 2 -- .../global_objects/function/apply/index.html | 4 ---- .../reference/global_objects/infinity/index.html | 2 -- .../global_objects/intl/datetimeformat/index.html | 2 +- .../global_objects/intl/numberformat/index.html | 2 -- .../reference/global_objects/math/sinh/index.html | 2 -- .../global_objects/math/sqrt1_2/index.html | 2 -- .../global_objects/number/isnan/index.html | 2 -- .../global_objects/object/assign/index.html | 4 ---- .../global_objects/object/values/index.html | 2 -- .../global_objects/promise/all/index.html | 2 -- .../reference/global_objects/promise/index.html | 22 +++++++++++----------- .../global_objects/promise/promise/index.html | 2 -- .../global_objects/promise/race/index.html | 2 -- .../global_objects/promise/resolve/index.html | 4 ---- .../global_objects/promise/then/index.html | 2 -- .../global_objects/sharedarraybuffer/index.html | 4 ---- .../global_objects/string/startswith/index.html | 2 +- .../reference/global_objects/undefined/index.html | 2 -- .../reference/operators/equality/index.html | 2 -- .../nullish_coalescing_operator/index.html | 3 --- .../operators/object_initializer/index.html | 4 ---- .../operators/optional_chaining/index.html | 4 ---- .../reference/operators/typeof/index.html | 2 -- .../reference/statements/async_function/index.html | 6 ------ .../reference/statements/class/index.html | 4 ---- .../reference/statements/do...while/index.html | 2 -- .../reference/statements/if...else/index.html | 2 -- 37 files changed, 13 insertions(+), 118 deletions(-) diff --git a/files/ko/web/javascript/a_re-introduction_to_javascript/index.html b/files/ko/web/javascript/a_re-introduction_to_javascript/index.html index f8f301aa66..36950fca58 100644 --- a/files/ko/web/javascript/a_re-introduction_to_javascript/index.html +++ b/files/ko/web/javascript/a_re-introduction_to_javascript/index.html @@ -1034,6 +1034,4 @@ y(7) // 27을 돌려줌 -
-

{{ languages( { "en": "en/A_re-introduction_to_JavaScript", "fr": "fr/Une_reintroduction_a_JavaScript", "it": "it/Una_re-introduzione_a_Javascript", "ja": "ja/A_re-introduction_to_JavaScript", "pl": "pl/JavaScript/Na_pocz?tek", "zh-cn": "cn/A_re-introduction_to_JavaScript" } ) }}

diff --git a/files/ko/web/javascript/guide/functions/index.html b/files/ko/web/javascript/guide/functions/index.html index 78f49f7b4f..99b92b7394 100644 --- a/files/ko/web/javascript/guide/functions/index.html +++ b/files/ko/web/javascript/guide/functions/index.html @@ -653,7 +653,3 @@ var p = new Person();

{{PreviousNext("Web/JavaScript/Guide/Loops_and_iteration", "Web/JavaScript/Guide/Expressions_and_Operators")}}

- - - -
diff --git a/files/ko/web/javascript/reference/classes/extends/index.html b/files/ko/web/javascript/reference/classes/extends/index.html index e1ae2eac31..0ae81a9964 100644 --- a/files/ko/web/javascript/reference/classes/extends/index.html +++ b/files/ko/web/javascript/reference/classes/extends/index.html @@ -13,10 +13,6 @@ translation_of: Web/JavaScript/Reference/Classes/extends

{{EmbedInteractiveExample("pages/js/classes-extends.html", "taller")}}

- -

구문

class ChildClass extends ParentClass { ... }
diff --git a/files/ko/web/javascript/reference/classes/public_class_fields/index.html b/files/ko/web/javascript/reference/classes/public_class_fields/index.html index 2431a21cd9..381afe4873 100644 --- a/files/ko/web/javascript/reference/classes/public_class_fields/index.html +++ b/files/ko/web/javascript/reference/classes/public_class_fields/index.html @@ -144,10 +144,6 @@ console.log(sub.subInstanceField)

{{EmbedInteractiveExample("pages/js/classes-static.html")}}

- -

The static methods are added to the class constructor with {{jsxref("Global_Objects/Object/defineProperty", "Object.defineProperty()")}} at class evaluation time. These methods are writable, non-enumerable, and configurable.

Public instance methods

diff --git a/files/ko/web/javascript/reference/classes/static/index.html b/files/ko/web/javascript/reference/classes/static/index.html index 02701e550d..4c90a99077 100644 --- a/files/ko/web/javascript/reference/classes/static/index.html +++ b/files/ko/web/javascript/reference/classes/static/index.html @@ -15,10 +15,6 @@ translation_of: Web/JavaScript/Reference/Classes/static

{{EmbedInteractiveExample("pages/js/classes-static.html")}}

- -

문법

static methodName() { ... }
diff --git a/files/ko/web/javascript/reference/functions/default_parameters/index.html b/files/ko/web/javascript/reference/functions/default_parameters/index.html index cf5d6d03eb..78f5fc263e 100644 --- a/files/ko/web/javascript/reference/functions/default_parameters/index.html +++ b/files/ko/web/javascript/reference/functions/default_parameters/index.html @@ -15,10 +15,6 @@ translation_of: Web/JavaScript/Reference/Functions/Default_parameters

{{EmbedInteractiveExample("pages/js/functions-default.html")}}

- -

구문

diff --git a/files/ko/web/javascript/reference/functions/rest_parameters/index.html b/files/ko/web/javascript/reference/functions/rest_parameters/index.html
index 41302dda3f..7af5e4ddb4 100644
--- a/files/ko/web/javascript/reference/functions/rest_parameters/index.html
+++ b/files/ko/web/javascript/reference/functions/rest_parameters/index.html
@@ -14,12 +14,6 @@ translation_of: Web/JavaScript/Reference/Functions/rest_parameters
 
 

{{EmbedInteractiveExample("pages/js/functions-restparameters.html")}}

- - -

 

-

구문

function f(a, b, ...theArgs) {
diff --git a/files/ko/web/javascript/reference/global_objects/array/entries/index.html b/files/ko/web/javascript/reference/global_objects/array/entries/index.html
index 316886c261..5b4b8eee78 100644
--- a/files/ko/web/javascript/reference/global_objects/array/entries/index.html
+++ b/files/ko/web/javascript/reference/global_objects/array/entries/index.html
@@ -16,10 +16,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Array/entries
 
 

{{EmbedInteractiveExample("pages/js/array-entries.html")}}

- -

구문

arr.entries()
diff --git a/files/ko/web/javascript/reference/global_objects/array/flatmap/index.html b/files/ko/web/javascript/reference/global_objects/array/flatmap/index.html
index ceaa87f4b2..93d92580b8 100644
--- a/files/ko/web/javascript/reference/global_objects/array/flatmap/index.html
+++ b/files/ko/web/javascript/reference/global_objects/array/flatmap/index.html
@@ -14,10 +14,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Array/flatMap
 
 

flatMap() 메서드는 먼저 매핑함수를 사용해 각 엘리먼트에 대해 map 수행 후, 결과를 새로운 배열로 평탄화합니다. 이는 깊이 1의 flat 이 뒤따르는 map 과 동일하지만, flatMap 은 아주 유용하며 둘을 하나의 메소드로 병합할 때 조금 더 효율적입니다.

- - - -

구문

arr.flatMap(callback(currentValue[, index[, array]])[, thisArg])
diff --git a/files/ko/web/javascript/reference/global_objects/array/slice/index.html b/files/ko/web/javascript/reference/global_objects/array/slice/index.html index a5264b1f86..aebc7b1805 100644 --- a/files/ko/web/javascript/reference/global_objects/array/slice/index.html +++ b/files/ko/web/javascript/reference/global_objects/array/slice/index.html @@ -15,8 +15,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Array/slice
{{EmbedInteractiveExample("pages/js/array-slice.html")}}
- -

구문

arr.slice([begin[, end]])
diff --git a/files/ko/web/javascript/reference/global_objects/function/apply/index.html b/files/ko/web/javascript/reference/global_objects/function/apply/index.html
index 184c426567..2c437e1f24 100644
--- a/files/ko/web/javascript/reference/global_objects/function/apply/index.html
+++ b/files/ko/web/javascript/reference/global_objects/function/apply/index.html
@@ -18,10 +18,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Function/apply
 
 

{{EmbedInteractiveExample("pages/js/function-apply.html")}}

- -

구문

func.apply(thisArg, [argsArray])
diff --git a/files/ko/web/javascript/reference/global_objects/infinity/index.html b/files/ko/web/javascript/reference/global_objects/infinity/index.html index 6305621f65..ffda333c14 100644 --- a/files/ko/web/javascript/reference/global_objects/infinity/index.html +++ b/files/ko/web/javascript/reference/global_objects/infinity/index.html @@ -15,8 +15,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Infinity
{{EmbedInteractiveExample("pages/js/globalprops-infinity.html")}}
- -

설명

Infinity는 전역 객체의 속성입니다. 즉, 전역 스코프의 변수입니다.

diff --git a/files/ko/web/javascript/reference/global_objects/intl/datetimeformat/index.html b/files/ko/web/javascript/reference/global_objects/intl/datetimeformat/index.html index 0758e1332b..deb61cb636 100644 --- a/files/ko/web/javascript/reference/global_objects/intl/datetimeformat/index.html +++ b/files/ko/web/javascript/reference/global_objects/intl/datetimeformat/index.html @@ -143,7 +143,7 @@ Intl.DateTimeFormat.call(this[, locales[, options -

각 구성요소 속성의 기본값은 {{jsxref("undefined")}}입니다. 그러나 모든 속성이 {{jsxref("undefined")}}일 경우, year, month, day"numeric"으로 취급합니다.

+

각 구성요소 속성의 기본값은 {{jsxref("undefined")}}입니다. 그러나 모든 속성이 {{jsxref("undefined")}}일 경우, year, month, day"numeric"으로 취급합니다.

diff --git a/files/ko/web/javascript/reference/global_objects/intl/numberformat/index.html b/files/ko/web/javascript/reference/global_objects/intl/numberformat/index.html index 6d306a0c77..3ce8966da4 100644 --- a/files/ko/web/javascript/reference/global_objects/intl/numberformat/index.html +++ b/files/ko/web/javascript/reference/global_objects/intl/numberformat/index.html @@ -15,8 +15,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat
{{EmbedInteractiveExample("pages/js/intl-numberformat.html")}}
- -

구문

new Intl.NumberFormat([locales[, options]])
diff --git a/files/ko/web/javascript/reference/global_objects/math/sinh/index.html b/files/ko/web/javascript/reference/global_objects/math/sinh/index.html
index f918785a34..0256b68799 100644
--- a/files/ko/web/javascript/reference/global_objects/math/sinh/index.html
+++ b/files/ko/web/javascript/reference/global_objects/math/sinh/index.html
@@ -11,8 +11,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Math/sinh
 
 
{{EmbedInteractiveExample("pages/js/math-sinh.html")}}
- -

Syntax

Math.sinh(x)
diff --git a/files/ko/web/javascript/reference/global_objects/math/sqrt1_2/index.html b/files/ko/web/javascript/reference/global_objects/math/sqrt1_2/index.html index e7fd572149..63adf3ab3a 100644 --- a/files/ko/web/javascript/reference/global_objects/math/sqrt1_2/index.html +++ b/files/ko/web/javascript/reference/global_objects/math/sqrt1_2/index.html @@ -11,8 +11,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Math/SQRT1_2
{{EmbedInteractiveExample("pages/js/math-sqrt1_2.html", "shorter")}}
- -
{{js_property_attributes(0, 0, 0)}}

설명

diff --git a/files/ko/web/javascript/reference/global_objects/number/isnan/index.html b/files/ko/web/javascript/reference/global_objects/number/isnan/index.html index ff5ae793de..f14199d96b 100644 --- a/files/ko/web/javascript/reference/global_objects/number/isnan/index.html +++ b/files/ko/web/javascript/reference/global_objects/number/isnan/index.html @@ -15,8 +15,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Number/isNaN
{{EmbedInteractiveExample("pages/js/number-isnan.html", "taller")}}
- -

구문

Number.isNaN(value)
diff --git a/files/ko/web/javascript/reference/global_objects/object/assign/index.html b/files/ko/web/javascript/reference/global_objects/object/assign/index.html index 6585f90a85..445cae9bb0 100644 --- a/files/ko/web/javascript/reference/global_objects/object/assign/index.html +++ b/files/ko/web/javascript/reference/global_objects/object/assign/index.html @@ -19,10 +19,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Object/assign

{{EmbedInteractiveExample("pages/js/object-assign.html")}}

- -

구문

Object.assign(target, ...sources)
diff --git a/files/ko/web/javascript/reference/global_objects/object/values/index.html b/files/ko/web/javascript/reference/global_objects/object/values/index.html index af8f159a53..152073ba89 100644 --- a/files/ko/web/javascript/reference/global_objects/object/values/index.html +++ b/files/ko/web/javascript/reference/global_objects/object/values/index.html @@ -9,8 +9,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Object/values
{{EmbedInteractiveExample("pages/js/object-values.html")}}
- -

Syntax

Object.values(obj)
diff --git a/files/ko/web/javascript/reference/global_objects/promise/all/index.html b/files/ko/web/javascript/reference/global_objects/promise/all/index.html index 6fe82003e0..e26a13dcfc 100644 --- a/files/ko/web/javascript/reference/global_objects/promise/all/index.html +++ b/files/ko/web/javascript/reference/global_objects/promise/all/index.html @@ -14,8 +14,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Promise/all
{{EmbedInteractiveExample("pages/js/promise-all.html")}}
- -

구문

Promise.all(iterable);
diff --git a/files/ko/web/javascript/reference/global_objects/promise/index.html b/files/ko/web/javascript/reference/global_objects/promise/index.html
index a06ff3cc40..cc9c9bc427 100644
--- a/files/ko/web/javascript/reference/global_objects/promise/index.html
+++ b/files/ko/web/javascript/reference/global_objects/promise/index.html
@@ -107,16 +107,18 @@ myFirstPromise.then((successMessage) => {
 
 

고급 예제

- -

다음의 작은 예제는 Promise의 동작 방식을 보여줍니다. testPromise() 함수는 {{HTMLElement("button")}}을 클릭할 때마다 호출되며, {{domxref("window.setTimeout()")}}을 사용해 1~3초의 무작위 간격 이후 프로미스 횟수(1부터 시작하는 숫자)로 이행하는 프로미스를 생성합니다. Promise() 생성자는 프로미스를 만드는 데 쓰입니다.

프로미스 이행은 {{jsxref("Promise.prototype.then()","p1.then()")}}을 사용하는 이행 콜백 세트를 통해 단순히 로그에 남습니다. 약간의 로그를 통해, 함수의 동기 부분이 비동기적 프로미스의 완료와 어떻게 분리되어 있는지 확인할 수 있습니다.

-
'use strict';
+

HTML

+ +
<button id="btn">프로미스 만들기!</button>
+<div id="log"></div>
+ +

JavaScript

+ +
'use strict';
 var promiseCount = 0;
 
 function testPromise() {
@@ -159,17 +161,15 @@ function testPromise() {
     log.insertAdjacentHTML('beforeend', thisPromiseCount +
         ') 프로미스 생성 (<small>동기적 코드 종료</small>)<br/>');
 }
-
- +} +

이 예제는 버튼을 클릭하면 실행됩니다. Promise를 지원하는 브라우저가 필요합니다. 짧은 시간 안에 버튼을 여러 번 클릭하여, 서로 다른 프로미스가 번갈아 이행되는 것을 볼 수도 있습니다.

diff --git a/files/ko/web/javascript/reference/global_objects/promise/promise/index.html b/files/ko/web/javascript/reference/global_objects/promise/promise/index.html index 3d5a5c9bea..934cae2e7f 100644 --- a/files/ko/web/javascript/reference/global_objects/promise/promise/index.html +++ b/files/ko/web/javascript/reference/global_objects/promise/promise/index.html @@ -14,8 +14,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Promise/Promise
{{EmbedInteractiveExample("pages/js/promise-constructor.html")}}
- -

구문

new Promise(executor)
diff --git a/files/ko/web/javascript/reference/global_objects/promise/race/index.html b/files/ko/web/javascript/reference/global_objects/promise/race/index.html index a6a90b0bed..618ae4ccb5 100644 --- a/files/ko/web/javascript/reference/global_objects/promise/race/index.html +++ b/files/ko/web/javascript/reference/global_objects/promise/race/index.html @@ -15,8 +15,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Promise/race
{{EmbedInteractiveExample("pages/js/promise-race.html")}}
- -

구문

Promise.race(iterable);
diff --git a/files/ko/web/javascript/reference/global_objects/promise/resolve/index.html b/files/ko/web/javascript/reference/global_objects/promise/resolve/index.html index e5015b9d34..4dca16fe8a 100644 --- a/files/ko/web/javascript/reference/global_objects/promise/resolve/index.html +++ b/files/ko/web/javascript/reference/global_objects/promise/resolve/index.html @@ -19,10 +19,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Promise/resolve
{{EmbedInteractiveExample("pages/js/promise-resolve.html")}}
- -

구문

Promise.resolve(value);
diff --git a/files/ko/web/javascript/reference/global_objects/promise/then/index.html b/files/ko/web/javascript/reference/global_objects/promise/then/index.html
index 7fa23363cb..989b17b846 100644
--- a/files/ko/web/javascript/reference/global_objects/promise/then/index.html
+++ b/files/ko/web/javascript/reference/global_objects/promise/then/index.html
@@ -15,8 +15,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Promise/then
 
 
{{EmbedInteractiveExample("pages/js/promise-then.html")}}
- -

매개변수 중 하나 이상을 생략했거나 함수가 아닌 값을 전달한 경우, then은 핸들러가 없는 것이 되지만 오류를 발생하지는 않습니다. then 바로 이전의 Promisethen에 핸들러가 없는 상태로 완료(이행이나 거부)했을 경우, 추가 핸들러가 없는 Promise가 생성되며, 원래 Promise의 마지막 상태를 그대로 물려받습니다.

diff --git a/files/ko/web/javascript/reference/global_objects/sharedarraybuffer/index.html b/files/ko/web/javascript/reference/global_objects/sharedarraybuffer/index.html index 16c4f93aca..47ad2c2301 100644 --- a/files/ko/web/javascript/reference/global_objects/sharedarraybuffer/index.html +++ b/files/ko/web/javascript/reference/global_objects/sharedarraybuffer/index.html @@ -19,10 +19,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer

{{EmbedInteractiveExample("pages/js/sharedarraybuffer-constructor.html")}}

- -

구문

new SharedArrayBuffer(length)
diff --git a/files/ko/web/javascript/reference/global_objects/string/startswith/index.html b/files/ko/web/javascript/reference/global_objects/string/startswith/index.html
index 19fce8ea97..165c6d3052 100644
--- a/files/ko/web/javascript/reference/global_objects/string/startswith/index.html
+++ b/files/ko/web/javascript/reference/global_objects/string/startswith/index.html
@@ -31,7 +31,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/startsWith
 
 

문자열이 검색 문자열로 시작하면 true, 아니면 false.

-

설명

+

설명

startsWith 메소드로 어떤 문자열이 다른 문자열로 시작하는지 확인 할 수 있습니다. 대소문자를 구분합니다.

diff --git a/files/ko/web/javascript/reference/global_objects/undefined/index.html b/files/ko/web/javascript/reference/global_objects/undefined/index.html index 8ff8f09360..ca11856dc0 100644 --- a/files/ko/web/javascript/reference/global_objects/undefined/index.html +++ b/files/ko/web/javascript/reference/global_objects/undefined/index.html @@ -14,8 +14,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/undefined
{{EmbedInteractiveExample("pages/js/globalprops-undefined.html")}}
- -

구문

undefined
diff --git a/files/ko/web/javascript/reference/operators/equality/index.html b/files/ko/web/javascript/reference/operators/equality/index.html index 5ebe238590..a31ffca59c 100644 --- a/files/ko/web/javascript/reference/operators/equality/index.html +++ b/files/ko/web/javascript/reference/operators/equality/index.html @@ -9,8 +9,6 @@ translation_of: Web/JavaScript/Reference/Operators/Equality
{{EmbedInteractiveExample("pages/js/expressions-equality.html")}}
- -

문법

x == y
diff --git a/files/ko/web/javascript/reference/operators/nullish_coalescing_operator/index.html b/files/ko/web/javascript/reference/operators/nullish_coalescing_operator/index.html
index 3a9a35a411..d5a4f69537 100644
--- a/files/ko/web/javascript/reference/operators/nullish_coalescing_operator/index.html
+++ b/files/ko/web/javascript/reference/operators/nullish_coalescing_operator/index.html
@@ -13,9 +13,6 @@ translation_of: Web/JavaScript/Reference/Operators/Nullish_coalescing_operator
 
 
{{EmbedInteractiveExample("pages/js/expressions-nullishcoalescingoperator.html")}}
- -

문법

leftExpr ?? rightExpr
diff --git a/files/ko/web/javascript/reference/operators/object_initializer/index.html b/files/ko/web/javascript/reference/operators/object_initializer/index.html
index 6040804e5f..3a4bb219af 100644
--- a/files/ko/web/javascript/reference/operators/object_initializer/index.html
+++ b/files/ko/web/javascript/reference/operators/object_initializer/index.html
@@ -21,10 +21,6 @@ translation_of: Web/JavaScript/Reference/Operators/Object_initializer
 
 

{{EmbedInteractiveExample("pages/js/expressions-objectinitializer.html", "taller")}}

- -

구문

var o = {};
diff --git a/files/ko/web/javascript/reference/operators/optional_chaining/index.html b/files/ko/web/javascript/reference/operators/optional_chaining/index.html
index 6ee1eec759..ccdeacb35e 100644
--- a/files/ko/web/javascript/reference/operators/optional_chaining/index.html
+++ b/files/ko/web/javascript/reference/operators/optional_chaining/index.html
@@ -13,10 +13,6 @@ translation_of: Web/JavaScript/Reference/Operators/Optional_chaining
 
 
{{EmbedInteractiveExample("pages/js/expressions-optionalchainingoperator.html")}}
-
- - -

문법

obj?.prop
diff --git a/files/ko/web/javascript/reference/operators/typeof/index.html b/files/ko/web/javascript/reference/operators/typeof/index.html
index acdd2eedbb..42cb7b027a 100644
--- a/files/ko/web/javascript/reference/operators/typeof/index.html
+++ b/files/ko/web/javascript/reference/operators/typeof/index.html
@@ -14,8 +14,6 @@ translation_of: Web/JavaScript/Reference/Operators/typeof
 
 
{{EmbedInteractiveExample("pages/js/expressions-typeof.html")}}
- -

구문

typeof 연산자는 피연산자 앞에 위치합니다.

diff --git a/files/ko/web/javascript/reference/statements/async_function/index.html b/files/ko/web/javascript/reference/statements/async_function/index.html index ca85f0deef..ab34076481 100644 --- a/files/ko/web/javascript/reference/statements/async_function/index.html +++ b/files/ko/web/javascript/reference/statements/async_function/index.html @@ -13,16 +13,10 @@ translation_of: Web/JavaScript/Reference/Statements/async_function

async function 선언은 {{jsxref("Global_Objects/AsyncFunction","AsyncFunction")}}객체를 반환하는 하나의 비동기 함수를 정의합니다. 비동기 함수는 이벤트 루프를 통해 비동기적으로 작동하는 함수로, 암시적으로 {{jsxref("Promise")}}를 사용하여 결과를 반환합니다. 그러나 비동기 함수를 사용하는 코드의 구문과 구조는, 표준 동기 함수를 사용하는것과 많이 비슷합니다.

-

또한 {{jsxref("Operators/async_function", "async function expression", "", 1)}}을 사용해서 async function을 선언할 수 있습니다.

-
{{EmbedInteractiveExample("pages/js/statement-async.html", "taller")}}
- -

Syntax

async function name([param[, param[, ... param]]]) {
diff --git a/files/ko/web/javascript/reference/statements/class/index.html b/files/ko/web/javascript/reference/statements/class/index.html
index bfb1c95027..df7c9c250a 100644
--- a/files/ko/web/javascript/reference/statements/class/index.html
+++ b/files/ko/web/javascript/reference/statements/class/index.html
@@ -16,11 +16,7 @@ translation_of: Web/JavaScript/Reference/Statements/class
 
 
{{EmbedInteractiveExample("pages/js/statement-class.html")}}
- - -

{{jsxref("Operators/class", "클래스 표현", "", 1)}}을 사용하여 클래스를 정의할 수도 있습니다. 표현식과 달리 선언문으로는 같은 클래스를 다시 선언하면 오류가 발생합니다.

-

구문

diff --git a/files/ko/web/javascript/reference/statements/do...while/index.html b/files/ko/web/javascript/reference/statements/do...while/index.html index 7326fb3fee..3e54d6367f 100644 --- a/files/ko/web/javascript/reference/statements/do...while/index.html +++ b/files/ko/web/javascript/reference/statements/do...while/index.html @@ -13,8 +13,6 @@ translation_of: Web/JavaScript/Reference/Statements/do...while
{{EmbedInteractiveExample("pages/js/statement-dowhile.html")}}
- -

문법

do구문
diff --git a/files/ko/web/javascript/reference/statements/if...else/index.html b/files/ko/web/javascript/reference/statements/if...else/index.html
index cde42b2a80..a6fb34c1ac 100644
--- a/files/ko/web/javascript/reference/statements/if...else/index.html
+++ b/files/ko/web/javascript/reference/statements/if...else/index.html
@@ -13,8 +13,6 @@ translation_of: Web/JavaScript/Reference/Statements/if...else
 
 
{{EmbedInteractiveExample("pages/js/statement-ifelse.html")}}
- -

구문

if (condition)
-- 
cgit v1.2.3-54-g00ecf