diff --git a/challenges/basic-javascript.json b/challenges/basic-javascript.json
index 0247de2a6f..c12e9a7622 100644
--- a/challenges/basic-javascript.json
+++ b/challenges/basic-javascript.json
@@ -994,7 +994,7 @@
"Another type of JavaScript loop is called a \"while loop\", because it runs \"while\" something is true and stops once that something is no longer true.",
"var ourArray = [];
",
"var i = 0;
",
- "while(i < 5) {
",
+ "while (i < 5) {
",
" ourArray.push(i);
",
" i++;
",
"}
",