From 33e585ac72e0ea845e9def9e2bbf66f734507ff1 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 --- challenges/basic-javascript.json | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/challenges/basic-javascript.json b/challenges/basic-javascript.json index 7aac971929..3c42feeeaf 100644 --- a/challenges/basic-javascript.json +++ b/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 },