From 2fbd2cb84f2f2a2e2eea2cf033b1717df6ba1ef1 Mon Sep 17 00:00:00 2001 From: SaintPeter Date: Thu, 12 Nov 2015 19:37:08 -0800 Subject: [PATCH] Fix for iterate backwards missing word, move function to tail --- seed/challenges/basic-javascript.json | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/seed/challenges/basic-javascript.json b/seed/challenges/basic-javascript.json index 7aac971929..3c42feeeaf 100644 --- a/seed/challenges/basic-javascript.json +++ b/seed/challenges/basic-javascript.json @@ -959,7 +959,7 @@ "  ourArray.push(i);", "}", "ourArray will now contain [10,8,6,4,2].", - "Let's change our initialization and final-expression so we can count backward by twos for numbers.", + "Let's change our initialization and final-expression so we can count backward by twos by odd numbers.", "Push the odd numbers from 9 through 1 to myArray using a for loop." ], "tests":[ @@ -978,12 +978,11 @@ "// Only change code below this line.", "", "", - "", - "// Only change code above this line.", - "", - "if(typeof(myArray) !== \"undefined\"){(function(){return myArray;})();}", "" ], + "tail": [ + "if(typeof(myArray) !== \"undefined\"){(function(){return myArray;})();}" + ], "type": "waypoint", "challengeType": 1 },