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/global_objects/array/includes | |
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/global_objects/array/includes')
-rw-r--r-- | files/ko/web/javascript/reference/global_objects/array/includes/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/files/ko/web/javascript/reference/global_objects/array/includes/index.html b/files/ko/web/javascript/reference/global_objects/array/includes/index.html index a646fd3bb4..6efcd759d6 100644 --- a/files/ko/web/javascript/reference/global_objects/array/includes/index.html +++ b/files/ko/web/javascript/reference/global_objects/array/includes/index.html @@ -26,7 +26,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Array/includes <h3 id="매개변수">매개변수</h3> <dl> - <dt><font face="consolas, Liberation Mono, courier, monospace"><span style="background-color: rgba(220, 220, 220, 0.5);">valueToFind</span></font></dt> + <dt><code>valueToFind</code></dt> <dd>탐색할 요소. <div class="blockIndicator note"> <p><strong>참고</strong>: 문자나 문자열을 비교할 때, <code>includes()</code>는 <strong>대소문자를 구분</strong>합니다.</p> @@ -60,7 +60,7 @@ arr.includes('c', 100); // false</pre> <h3 id="0보다_작은_인덱스의_계산">0보다 작은 인덱스의 계산</h3> -<p><code>fromIndex</code> 가 음수라면, 이 계산된 인덱스는 <font face="consolas, Liberation Mono, courier, monospace"><span style="background-color: rgba(220, 220, 220, 0.5);">valueToFind</span></font> 를 찾기 시작할 배열의 위치로 사용되기 위해 연산됩니다. 만약 계산된 인덱스가 <code>-1 * array.length</code> 보다 작거나 같다면, 전체 배열이 검색될 것입니다.</p> +<p><code>fromIndex</code> 가 음수라면, 이 계산된 인덱스는 <code>valueToFind</code> 를 찾기 시작할 배열의 위치로 사용되기 위해 연산됩니다. 만약 계산된 인덱스가 <code>-1 * array.length</code> 보다 작거나 같다면, 전체 배열이 검색될 것입니다.</p> <pre class="brush: js">// array length is 3 // fromIndex is -100 |