mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-02-28 14:01:32 -05:00
fix(curriculum) - allow spaces before the parenthesises in function declarations in step 144 rpg project (#52776)
This commit is contained in:
@@ -20,7 +20,7 @@ assert.match(code, /function\s+getMonsterAttackValue/);
|
||||
Your `getMonsterAttackValue` should take `level` as a parameter.
|
||||
|
||||
```js
|
||||
assert.match(code, /getMonsterAttackValue\(\s*level\s*\)/);
|
||||
assert.match(code, /getMonsterAttackValue\s*\(\s*level\s*\)/);
|
||||
```
|
||||
|
||||
# --seed--
|
||||
|
||||
Reference in New Issue
Block a user