From 25a2d715edebfb97f8c39643a5286b1ab3a7b332 Mon Sep 17 00:00:00 2001 From: Shubham Patil Date: Wed, 14 Sep 2016 04:18:18 -0400 Subject: [PATCH] Description of "Filter Arrays with .filter" updated Fixes issue #10695 The description of the challenge "Filter Arrays with .filter" was updated to remove double negatives from the description as pointed out in the issue #10695 --- .../object-oriented-and-functional-programming.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed/challenges/01-front-end-development-certification/object-oriented-and-functional-programming.json b/seed/challenges/01-front-end-development-certification/object-oriented-and-functional-programming.json index c110605ce2..ad4334183a 100644 --- a/seed/challenges/01-front-end-development-certification/object-oriented-and-functional-programming.json +++ b/seed/challenges/01-front-end-development-certification/object-oriented-and-functional-programming.json @@ -418,7 +418,7 @@ "id": "cf1111c1c15feddfaeb9bdef", "title": "Filter Arrays with .filter", "description": [ - "The filter method is used to iterate through an array and filter out elements where a given condition is not true.", + "The filter method creates a new array from an existing one by iterating over it and returning only the elements where a given condition returns true.", "filter is passed a callback function which takes the current value (we've called that val) as an argument.", "Any array element for which the callback returns true will be kept and elements that return false will be filtered out.", "The following code is an example of using filter to remove array elements that are equal to five:",