Skip to content

Commit 03d6710

Browse files
committed
[충돌해결]Part1 5.5 배열과 메서드
1 parent f6afe1e commit 03d6710

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

  • 1-js/05-data-types/05-array-methods/2-filter-range

1-js/05-data-types/05-array-methods/2-filter-range/task.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@
44

55
# 특정 범위에 속하는 요소 찾기
66

7-
<<<<<<< HEAD
8-
배열 `arr`의 요소 중 `a`이상 `b` 이하 범위에 속하는 요소만 골라 새로운 배열에 집어넣고, 해당 요소를 출력해주는 함수 `filterRange(arr, a, b)`를 작성해봅시다.
9-
=======
10-
Write a function `filterRange(arr, a, b)` that gets an array `arr`, looks for elements with values higher or equal to `a` and lower or equal to `b` and return a result as an array.
11-
>>>>>>> upstream/master
7+
배열 `arr`의 요소 중 `a` 이상 `b` 이하 범위에 속하는 요소만 골라 새로운 배열에 집어넣고, 해당 요소를 출력해 주는 함수 `filterRange(arr, a, b)`를 작성해 봅시다.
128

139
새로 작성하는 함수는 기존 배열 `arr`을 변경하면 안 되고, 반환되는 함수는 새로운 배열이어야 합니다.
1410

0 commit comments

Comments
 (0)