From d4fc4cc8c398eec8266eeabc22f34575855e8714 Mon Sep 17 00:00:00 2001 From: benmcmahon100 Date: Sat, 1 Aug 2015 16:11:57 +0100 Subject: [PATCH] All done without extra regex --- 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 dabf28c174..ab02c594ae 100644 --- a/challenges/basic-javascript.json +++ b/challenges/basic-javascript.json @@ -1080,7 +1080,7 @@ "For this we will need to generate three random numbers between 1 and 5 to represent the possible values of each individual slot", "Store the three random numbers in slotOne, slotTwo and slotThree", "Generate the random numbers by using the system we used earlier in /challenges/random-whole-numbers-in-a-range", - " Math.floor(Math.random() * (5 - 1 + 1)) + 1; " + " Math.floor(Math.random() * (5 - 1 + 1)) + 1; ." ], "tests":[ "assert(typeof(runSlots($('.slot'))[0]) == 'number', 'SlotOne should be a random number');",