From b45a8741550e7b1cfe84d92cdfbd0971c023d953 Mon Sep 17 00:00:00 2001 From: Faizaan Date: Fri, 13 Nov 2015 22:41:16 +0530 Subject: [PATCH] fix typo and move to tail --- challenges/object-oriented-and-functional-programming.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/challenges/object-oriented-and-functional-programming.json b/challenges/object-oriented-and-functional-programming.json index 20dc89a4a9..933fcbff59 100644 --- a/challenges/object-oriented-and-functional-programming.json +++ b/challenges/object-oriented-and-functional-programming.json @@ -387,7 +387,7 @@ "description": [ "You can use the reverse method to reverse the elements of an array.", "reverse is another array method that alters the array in place, but it also returns the reversed array.", - "Use reverse to reverse the array variable and assign it to myArray." + "Use reverse to reverse the array variable and assign it to newArray." ], "tests": [ "assert.deepEqual(newArray, [7,6,5,4,3,2,1], 'message: You should reverse the array.');", @@ -402,7 +402,9 @@ "var newArray = array;", "", "// Only change code above this line.", - "", + "" + ], + "tail":[ "(function() {return newArray;})();" ], "challengeType": 1,