I’m trying to list all the players in the exercise “Team Stats”, and it kinda works but i’m getting a line that says “undefined”. And i cant figure out why? Where does that come from?
listPlayers() doesn’t return anything, yet you attempt to log the return value.
Try to call the listPlayer() methode on team object , and check the results :
Thanks, that fixed it
You’re welcome bro !
This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.