From 90aa32338f0f2613f1d25f5e7e202db44a727256 Mon Sep 17 00:00:00 2001 From: Ilya Kantor Date: Sat, 3 Jun 2017 09:28:50 +0300 Subject: [PATCH] fixes #502 --- .../05-array-methods/3-filter-range-in-place/task.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/1-js/05-data-types/05-array-methods/3-filter-range-in-place/task.md b/1-js/05-data-types/05-array-methods/3-filter-range-in-place/task.md index 3d7487c4..a737a525 100644 --- a/1-js/05-data-types/05-array-methods/3-filter-range-in-place/task.md +++ b/1-js/05-data-types/05-array-methods/3-filter-range-in-place/task.md @@ -2,9 +2,9 @@ importance: 4 --- -# Filter "in place" +# Filter range "in place" -Write a function `filterRangeInPlace(arr, a, b)` that gets an array `arr` and removes from it all values except those that are between `a` and `b. The test is: `a ≤ arr[i] ≤ b`. +Write a function `filterRangeInPlace(arr, a, b)` that gets an array `arr` and removes from it all values except those that are between `a` and `b. The test is: `a ≤ arr[i] ≤ b`. The function should only modify the array. It should not return anything. @@ -16,4 +16,3 @@ filterRangeInPlace(arr, 1, 4); // removed the numbers except from 1 to 4 alert( arr ); // [3, 1] ``` -