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:
Ismail Tlemçani
2021-01-21 05:50:44 +01:00
committed by GitHub
parent 8e96fef862
commit d6e47037de

View File

@ -49,7 +49,7 @@ The function `countOnline` should use a `for in` statement to iterate through th
```js
assert(
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*\)/
)
);
```