From 6344f73a36fbf7498de988d382bed264b08102f3 Mon Sep 17 00:00:00 2001 From: Isabell Long Date: Sat, 22 Aug 2015 20:26:36 +0100 Subject: [PATCH] In the while loop iterator section, advise while loops, not for loops - Fixes #2504. --- challenges/basic-javascript.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenges/basic-javascript.json b/challenges/basic-javascript.json index 687b271a4f..153b461e73 100644 --- a/challenges/basic-javascript.json +++ b/challenges/basic-javascript.json @@ -843,7 +843,7 @@ "  ourArray.push(i);", "  i++;", "}", - "Let's try getting a for loop to work by pushing values to an array." + "Let's try getting a while loop to work by pushing values to an array." ], "tests":[ "assert(editor.getValue().match(/while/g), 'You should be using a while loop for this.');",