From 86792571ae1a21a1e4bf526747d6dd1c2636d167 Mon Sep 17 00:00:00 2001 From: alattalatta Date: Sat, 14 Aug 2021 15:57:42 +0900 Subject: Clean up JS reference documents (#1818) * Clean up JavaScript references HTML code - Remove inline styles - Remove 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 --- .../web/javascript/reference/global_objects/array/includes/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'files/ko/web/javascript/reference/global_objects/array/includes/index.html') 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

매개변수

-
valueToFind
+
valueToFind
탐색할 요소.

참고: 문자나 문자열을 비교할 때, includes()대소문자를 구분합니다.

@@ -60,7 +60,7 @@ arr.includes('c', 100); // false

0보다 작은 인덱스의 계산

-

fromIndex 가 음수라면, 이 계산된 인덱스는 valueToFind 를 찾기 시작할 배열의 위치로 사용되기 위해 연산됩니다. 만약 계산된 인덱스가 -1 * array.length 보다 작거나 같다면, 전체 배열이 검색될 것입니다.

+

fromIndex 가 음수라면, 이 계산된 인덱스는 valueToFind 를 찾기 시작할 배열의 위치로 사용되기 위해 연산됩니다. 만약 계산된 인덱스가 -1 * array.length 보다 작거나 같다면, 전체 배열이 검색될 것입니다.

// array length is 3
 // fromIndex is -100
-- 
cgit v1.2.3-54-g00ecf