diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/compare-scopes-of-the-var-and-let-keywords.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/compare-scopes-of-the-var-and-let-keywords.english.md index e92ff3cad9e..c2d268a49cc 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/compare-scopes-of-the-var-and-let-keywords.english.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/compare-scopes-of-the-var-and-let-keywords.english.md @@ -30,8 +30,8 @@ This exercise is designed to illustrate the difference between how varvar does not exist in code. - testString: getUserInput => assert(!getUserInput('index').match(/var/g),'var does not exist in code.'); + - text: var should not exist in code. + testString: getUserInput => assert(!getUserInput('index').match(/var/g),'var should not exist in code.'); - text: The variable i declared in the if statement should equal "block scope". testString: getUserInput => assert(getUserInput('index').match(/(i\s*=\s*).*\s*.*\s*.*\1('|")block\s*scope\2/g), 'The variable i declared in the if statement should equal "block scope".'); - text: checkScope() should return "function scope"