mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-13 21:02:08 +08:00
fix(curriculum): allow spreading "allSongs" in next line or space in step 9 of the music player project (#53035)
This commit is contained in:
parent
92d7c2cfd3
commit
f3e25c90b2
@ -26,7 +26,7 @@ Inside the `userData` object create a `songs` property. For the value, spread `a
|
||||
Your `userData` object should have a `songs` key set to `[...allSongs]`.
|
||||
|
||||
```js
|
||||
assert.match(code, /songs\s*:\s*\[\.\.\.allSongs\],?/);
|
||||
assert.match(code, /songs\s*:\s*\[\s*\.\.\.allSongs\s*\],?/);
|
||||
```
|
||||
|
||||
# --seed--
|
||||
|
||||
Loading…
Reference in New Issue
Block a user