From 22ea18cd0d9c895a224b9d57d05dead37233f034 Mon Sep 17 00:00:00 2001 From: Sushil Gupta Date: Fri, 29 Dec 2023 13:36:14 +0530 Subject: [PATCH] fix(curriculum): add backticks to `userData.songs` (#52815) --- .../6555ebf07ec610585a626f72.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-string-and-array-methods-by-building-a-music-player/6555ebf07ec610585a626f72.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-string-and-array-methods-by-building-a-music-player/6555ebf07ec610585a626f72.md index 0e55a2ece7f..4b11b704767 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-string-and-array-methods-by-building-a-music-player/6555ebf07ec610585a626f72.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-string-and-array-methods-by-building-a-music-player/6555ebf07ec610585a626f72.md @@ -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--