From 6154fa8e1e72b86949b17329824b7c91010e8fb9 Mon Sep 17 00:00:00 2001 From: Mrugesh Mohapatra Date: Thu, 11 Feb 2016 11:48:52 +0000 Subject: [PATCH] Fix the instructions in the Filter Array Challenge This commit fixes the instruction text as discussed in the issue thread. Tested locally. --- .../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 db77cbba8a..997450c4cf 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 @@ -390,7 +390,7 @@ "The following code is an example of using filter to remove array elements that are equal to five:", "Note: We omit the second and third arguments since we only need the value", "
array = array.filter(function(val) {
  return val !== 5;
});
", - "Use filter to filter out all elements from oldArray that are greater than 5 and store the results into newArray. oldArray should not change." + "Use filter to create a new array with all the values from oldArray which are less than 6.
oldArray should not change." ], "challengeSeed": [ "var oldArray = [1,2,3,4,5,6,7,8,9,10];",