From cf4e88f18971999eced5b571ebd0bc0ace13503b Mon Sep 17 00:00:00 2001 From: Josh Wein Date: Sat, 21 Nov 2015 16:50:28 -0500 Subject: [PATCH] Updated variable reference. Updated variable reference in "Waypoint: Iterate over Arrays with .map" from ```array``` to ```oldArray``` to match up with the given variable name in the program. --- seed/challenges/object-oriented-and-functional-programming.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed/challenges/object-oriented-and-functional-programming.json b/seed/challenges/object-oriented-and-functional-programming.json index 68eb3f7c38..4dac5b7ca9 100644 --- a/seed/challenges/object-oriented-and-functional-programming.json +++ b/seed/challenges/object-oriented-and-functional-programming.json @@ -263,7 +263,7 @@ "", "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.", "In our example the callback only uses the value of the array element (the val argument) but your callback can also include arguments for the index and array being acted on.", - "Use the map function to add 3 to every value in the variable array." + "Use the map function to add 3 to every value in the variable oldArray." ], "tests":[ "assert.deepEqual(newArray, [4,5,6,7,8], 'message: You should add three to each value in the array.');",