From 763747f494391fcdaa0dbbad15923e8863ff74c3 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 --- .../object-oriented-and-functional-programming.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/seed/challenges/object-oriented-and-functional-programming.json b/seed/challenges/object-oriented-and-functional-programming.json index 4570dd45ff7..3be9cb4a206 100644 --- a/seed/challenges/object-oriented-and-functional-programming.json +++ b/seed/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.",