From 040efef6463419ddb9b19ec9df4f31fdfd359855 Mon Sep 17 00:00:00 2001 From: Dorell James Date: Tue, 13 Oct 2020 00:36:26 +0800 Subject: [PATCH] Update task.md Updated based on suggestion on issue #1769 --- 1-js/05-data-types/05-array-methods/2-filter-range/task.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/05-data-types/05-array-methods/2-filter-range/task.md b/1-js/05-data-types/05-array-methods/2-filter-range/task.md index 18b2c1d9..46e47c93 100644 --- a/1-js/05-data-types/05-array-methods/2-filter-range/task.md +++ b/1-js/05-data-types/05-array-methods/2-filter-range/task.md @@ -4,7 +4,7 @@ importance: 4 # Filter range -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. +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. The function should not modify the array. It should return the new array.