From ab52fb61db42ee6b38afa64d9f1ddb25a6c63fa0 Mon Sep 17 00:00:00 2001 From: natac13 Date: Sat, 31 Oct 2015 18:03:21 -0400 Subject: [PATCH] fix unclear description and lack of usage in the editor. closes #4059 removed added code in the seed --- challenges/object-oriented-and-functional-programming.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/challenges/object-oriented-and-functional-programming.json b/challenges/object-oriented-and-functional-programming.json index 4570dd45ff..3be9cb4a20 100644 --- a/challenges/object-oriented-and-functional-programming.json +++ b/challenges/object-oriented-and-functional-programming.json @@ -189,8 +189,8 @@ "title":"Iterate over Arrays with .map", "description":[ "The map method is a convenient way to iterate through arrays. Here's an example usage:", - "var timesFour = array.map(function(val){", - "  return val*4;", + "var timesFour = oldArray.map(function(val){", + "  return val * 4;", "});", "", "The map method will iterate through every element of the array, creating a new array with values that have been modified by the callback function, and return it.",