Learn-modern-javascript-methods-by-building-football-team-cards - Step 25

Add a new parameter to your `setPlayerCards` function called `arr` and assign it a default value of `players` .

my solution

const setPlayerCards = (arr = "players") => { return arr; };

i really dont know where my misstake is, can somone help me please

i found the problem, do not enter players as a String

5 Likes

Good job debugging. Happy coding!

Solution
removed by moderator

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.