mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-10 22:00:43 -04: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:
@@ -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--
|
||||
|
||||
Reference in New Issue
Block a user