diff --git a/challenges/01-front-end-development-certification/basic-javascript.json b/challenges/01-front-end-development-certification/basic-javascript.json index bd09ac58a3..bfc50fbd81 100644 --- a/challenges/01-front-end-development-certification/basic-javascript.json +++ b/challenges/01-front-end-development-certification/basic-javascript.json @@ -5202,6 +5202,7 @@ ], "tests": [ "assert(code.match(/for\\s*\\(/g).length > 1, 'message: You should be using a for loop for this.');", + "assert(code.match(/myArray.push/), 'message: You should be using the array method push.');", "assert.deepEqual(myArray, [9,7,5,3,1], 'message: myArray should equal [9,7,5,3,1].');" ], "type": "waypoint",