diff --git a/challenges/01-front-end-development-certification/basic-javascript.json b/challenges/01-front-end-development-certification/basic-javascript.json
index d4d79c7a3c..87c920c92d 100644
--- a/challenges/01-front-end-development-certification/basic-javascript.json
+++ b/challenges/01-front-end-development-certification/basic-javascript.json
@@ -4200,7 +4200,7 @@
"tests": [
"assert(code.match(/var\\s*total\\s*=\\s*0\\s*;/), 'message: total
should be declared and initialized to 0');",
"assert(total === 20, 'message: total
should equal 20');",
- "assert(code.match(/for\\s*\\(/g).length > 1 && code.match(/\\+=\\s*myArr/), 'message: You should use a for
loop to iterate through myArr
');",
+ "assert(code.match(/for\\s*\\(/g).length > 1 && code.match(/myArr\\s*\\[/), 'message: You should use a for
loop to iterate through myArr
');",
"assert(!code.match(/total[\\s\\+\\-]*=\\s*(\\d(?!\\s*;)|[1-9])/g), 'message: Do not set total
to 20 directly');"
],
"type": "waypoint",