diff --git a/seed/challenges/01-front-end-development-certification/basic-javascript.json b/seed/challenges/01-front-end-development-certification/basic-javascript.json index 0b674f3280..f346831d08 100644 --- a/seed/challenges/01-front-end-development-certification/basic-javascript.json +++ b/seed/challenges/01-front-end-development-certification/basic-javascript.json @@ -1457,7 +1457,7 @@ "assert((function(){flip = 1; var result = myFunction(); if(result === 'tails'){return true;} else {return false;}})(), 'message: myFunction should return tails when flip equals 1');" ], "challengeSeed": [ - "var flip = Math.floor(Math.random() * (1 - 0 + 1)) + 0;", + "var flip = Math.floor(Math.random() * 2);", "", "function myFunction() {", "",