diff --git a/challenges/02-javascript-algorithms-and-data-structures/es6.json b/challenges/02-javascript-algorithms-and-data-structures/es6.json index 861aea3153c..35c560ae6c9 100644 --- a/challenges/02-javascript-algorithms-and-data-structures/es6.json +++ b/challenges/02-javascript-algorithms-and-data-structures/es6.json @@ -230,7 +230,7 @@ "tests": [ "// Test user did replace var keyword", "// Test myConcat is const", - "// Test myConcat is a function", + "assert(typeof myConcat === \"function\", 'message: myConcat should be a function');", "// Test myConcat() returns the correct array", "// Test function keyword was not used", "// Test arrow => was used"