mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): make space optional (#64676)
Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user