diff --git a/seed/challenges/object-oriented-and-functional-programming.json b/seed/challenges/object-oriented-and-functional-programming.json index 4dac5b7ca9..907035e02c 100644 --- a/seed/challenges/object-oriented-and-functional-programming.json +++ b/seed/challenges/object-oriented-and-functional-programming.json @@ -322,10 +322,10 @@ "The filter method is used to iterate through an array and filter out elements where a given condition is not 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 not even numbers:", + "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 % 2 === 0;", + "  return val !== 5;", "});", "Use filter to remove all elements from array that are greater than 5." ],