diff options
author | alattalatta <urty5656@gmail.com> | 2021-08-14 15:57:42 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-14 15:57:42 +0900 |
commit | 86792571ae1a21a1e4bf526747d6dd1c2636d167 (patch) | |
tree | c8cabac7926ab152ce22d07e4670fcb90943d61a /files/ko/web/javascript/reference/statements/for...in/index.html | |
parent | a04c78de5e61e8b716173968d63f6113a09651bd (diff) | |
download | translated-content-86792571ae1a21a1e4bf526747d6dd1c2636d167.tar.gz translated-content-86792571ae1a21a1e4bf526747d6dd1c2636d167.tar.bz2 translated-content-86792571ae1a21a1e4bf526747d6dd1c2636d167.zip |
Clean up JS reference documents (#1818)
* Clean up JavaScript references HTML code
- Remove inline styles
- Remove <font> elements
- Remove title attribute
* Remove sup/sub from JavaScript reference
* Remove name attrs from JavaScript reference
* Remove legacy browser compat elements
* Remove duplicate browser-compat key
Diffstat (limited to 'files/ko/web/javascript/reference/statements/for...in/index.html')
-rw-r--r-- | files/ko/web/javascript/reference/statements/for...in/index.html | 8 |
1 files changed, 4 insertions, 4 deletions
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 d51a3c79dc..f5e54dcac2 100644 --- a/files/ko/web/javascript/reference/statements/for...in/index.html +++ b/files/ko/web/javascript/reference/statements/for...in/index.html @@ -12,11 +12,11 @@ translation_of: Web/JavaScript/Reference/Statements/for...in <p>{{EmbedInteractiveExample("pages/js/statement-forin.html")}}</p> -<h2 id="Syntax" name="Syntax">문법</h2> +<h2 id="Syntax">문법</h2> <pre class="syntaxbox notranslate">for (<var>variable</var> in <var>object</var>) {<em> ... </em>}</pre> -<h3 id="Parameters" name="Parameters">파라미터</h3> +<h3 id="Parameters">파라미터</h3> <dl> <dt><code>variable</code></dt> @@ -25,7 +25,7 @@ translation_of: Web/JavaScript/Reference/Statements/for...in <dd>반복작업을 수행할 객체로 열거형 속성을 가지고 있는 객체.</dd> </dl> -<h2 id="Description" name="Description">설명</h2> +<h2 id="Description">설명</h2> <p><code>for...in</code>문은 열거 가능한 non-Symbol 속성에 대해서만 반복합니다.<br> <code>Array</code>나 <code>Object</code> 등 내장 constructor를 통해 만들어진 객체는 {{jsxref("String")}}의 {{jsxref("String.indexOf", "indexOf()")}}, {{jsxref("Object")}}의 {{jsxref("Object.toString", "toString()")}}와 같이 <code>Object.prototype</code>, <code>String.prototype</code> 로부터 열거가 가능하지 않은 속성들을 상속해왔습니다. <code>for...in</code>문은 객체 자체의 모든 열거 가능한 속성들과 프로토타입 체인으로부터 상속받은 속성들에 대해 반복할 것입니다. (더 가까운 프로토타입의 속성들이 프로토타입 체인 객체로부터 더 멀리 떨어진 프로토 타입의 속성보다 더 우선합니다.)</p> @@ -58,7 +58,7 @@ translation_of: Web/JavaScript/Reference/Statements/for...in <p>이것은 쉽게 객체의 속성을 확인(콘솔이나 다른 방법으로 출력)할 수 있기 때문에 실질적으로 디버깅을 위해 사용될 수 있습니다. 배열이 데이터의 저장에 있어서는 더 실용적이지만, 키-값 쌍이 선호되는 데이터의 경우(속성이 "key"의 역할을 함) 특정 값을 가진 키가 있는지 확인하려는 경우에 for...in을 사용할 수 있습니다.</p> -<h2 id="Example" name="Example">예제</h2> +<h2 id="Example">예제</h2> <h3 id="for...in의_사용">for...in의 사용</h3> |