fix(learn): tests of the for in issue regarding the curly braces (#40344)
* fix: fix the regex of the test of the challenge * fix: fix data structure challenge * fix: fix data structure challenge * fix:fix the test regex of the challenge * fix: fix the test regex
This commit is contained in:
		| @@ -49,7 +49,7 @@ The function `countOnline` should use a `for in` statement to iterate through th | |||||||
| ```js | ```js | ||||||
| assert( | assert( | ||||||
|   code.match( |   code.match( | ||||||
|     /for\s*\(\s*(var|let|const)\s+[a-zA-Z_$]\w*\s+in\s+[a-zA-Z_$]\w*\s*\)\s*{/ |     /for\s*\(\s*(var|let|const)\s+[a-zA-Z_$]\w*\s+in\s+[a-zA-Z_$]\w*\s*\)/ | ||||||
|   ) |   ) | ||||||
| ); | ); | ||||||
| ``` | ``` | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user