mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-19 21:09:51 +08:00
fix(curriculum): test for step 48 of dice game project (#53982)
This commit is contained in:
parent
a04c87e05f
commit
3b38612a9f
@ -22,7 +22,7 @@ assert.match(code, /scoreInputs\.forEach/);
|
||||
You should apply a callback function to the `forEach` method with a parameter called `input`.
|
||||
|
||||
```js
|
||||
assert.match(code, /scoreInputs\.forEach\(\s*\(\s*input\s*\)?\s*=>/);
|
||||
assert.match(code, /scoreInputs\.forEach\(\s*(\(\s*input\s*\)|input)\s*=>/);
|
||||
```
|
||||
|
||||
# --seed--
|
||||
|
||||
Loading…
Reference in New Issue
Block a user