diff --git a/challenges/01-front-end-development-certification/basic-javascript.json b/challenges/01-front-end-development-certification/basic-javascript.json index 1f7bf1eb9e..a9bbdaf29a 100644 --- a/challenges/01-front-end-development-certification/basic-javascript.json +++ b/challenges/01-front-end-development-certification/basic-javascript.json @@ -4154,7 +4154,7 @@ "assert(calcMin === 5, 'message: The random number generated by randomRange should be greater than or equal to your minimum number, myMin.');", "assert(calcMax === 15, 'message: The random number generated by randomRange should be less than or equal to your maximum number, myMax.');", "assert(randomRange(0,1) % 1 === 0 , 'message: The random number generated by randomRange should be an integer, not a decimal.');", - "assert((function(){if(code.match(/myMax/g).length > 1 && code.match(/myMin/g).length > 2 && code.match(/Math.floor/g) && code.match(/Math.random/g)){return true;}else{return false;}})(), 'message: randomRange should use use both myMax and myMin, and return a random number in your range.');" + "assert((function(){if(code.match(/myMax/g).length > 1 && code.match(/myMin/g).length > 2 && code.match(/Math.floor/g) && code.match(/Math.random/g)){return true;}else{return false;}})(), 'message: randomRange should use both myMax and myMin, and return a random number in your range.');" ], "type": "waypoint", "challengeType": 1