aboutsummaryrefslogtreecommitdiff
path: root/files/ko/web/javascript/reference/global_objects/array/includes
diff options
context:
space:
mode:
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.html4
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