mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-02-23 17:10:25 -05:00
fix(curriculum): add backticks to userData.songs (#52815)
This commit is contained in:
@@ -18,7 +18,7 @@ const numsGreaterThanThree = numArr.filter((num) => num > 3);
|
||||
console.log(numsGreaterThanThree) // Output: [10, 8, 4, 5]
|
||||
```
|
||||
|
||||
Use the `filter()` method on `userData?.songs`. Pass in `song` as the parameter of the arrow function callback and use implicit return to check if `song.id` is strictly not equal to `id`. Assign all of that to the userData.songs.
|
||||
Use the `filter()` method on `userData?.songs`. Pass in `song` as the parameter of the arrow function callback and use implicit return to check if `song.id` is strictly not equal to `id`. Assign all of that to the `userData.songs`.
|
||||
|
||||
# --hints--
|
||||
|
||||
|
||||
Reference in New Issue
Block a user