Skip to content

Commit ac28995

Browse files
authoredOct 12, 2020
Merge pull request #2194 from dorelljames/patch-4
Update task.md
2 parents 1431a25 + 040efef commit ac28995

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.