fix(curriculum): make space optional (#64676)

Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
This commit is contained in:
majestic-owl448
2025-12-17 10:09:43 +01:00
committed by GitHub
parent faf0fe5c78
commit dacf55ad1f
@@ -32,7 +32,7 @@ assert.match(__helpers.removeJSComments(code), /const\s+timmyAge\s*\=\s*.+\bif\s
Your third `if` statement should use `timmyAge >= 16` as its condition.
```js
assert.match(__helpers.removeJSComments(code), /const\s+timmyAge\s*\=\s*.+\bif\s*\(\s*timmyAge\s*>=\s* 16\s*\)\s*\{.+\}/s);
assert.match(__helpers.removeJSComments(code), /const\s+timmyAge\s*\=\s*.+\bif\s*\(\s*timmyAge\s*>=\s*16\s*\)\s*\{.+\}/s);
```
You should log `"Timmy is old enough to drive."` to the console inside your third `if` statement.