Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 040efef

Browse files
authoredOct 12, 2020
Update task.md
Updated based on suggestion on issue #1769
1 parent 1431a25 commit 040efef

File tree

1 file changed

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

1 file changed

+1
-1
lines changed
 

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ importance: 4
44

55
# Filter range
66

7-
Write a function `filterRange(arr, a, b)` that gets an array `arr`, looks for elements between `a` and `b` in it and returns an array of them.
7+
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.
88

99
The function should not modify the array. It should return the new array.
1010

0 commit comments

Comments
 (0)
Please sign in to comment.