diff --git a/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json b/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json index cb82a2cbb41..f188480cd14 100755 --- a/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json +++ b/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json @@ -2436,8 +2436,7 @@ "assert(typeof myGlobal != \"undefined\", 'message: myGlobal should be defined');", "assert(myGlobal === 10, 'message: myGlobal should have a value of 10');", "assert(/var\\s+myGlobal/.test(code), 'message: myGlobal should be declared using the var keyword');", - "assert(typeof oopsGlobal != \"undefined\" && oopsGlobal === 5, 'message: oopsGlobal should have a value of 5');", - "assert(!/var\\s+oopsGlobal/.test(code), 'message: Do not declare oopsGlobal using the var keyword');" + "assert(typeof oopsGlobal != \"undefined\" && oopsGlobal === 5, 'message: oopsGlobal should be a global variable and have a value of 5');" ], "type": "waypoint", "challengeType": 1, @@ -5671,4 +5670,4 @@ "translations": {} } ] -} \ No newline at end of file +}