I don’t know what I am doing wrong here:
const userAvatarUrl = (avatar) => avatar.startsWith("/user_avatar/") ? avatarUrl.concat(avatar) : avatar;
Challenge Information:
Learn Asynchronous Programming by Building an fCC Forum Leaderboard - Step 61
Can you explain why you are including the following?
(avatar) =>
1 Like
I thought it had to be an arrow function. Thank you I was trying all variations and I didn’t see that as the problem
I thought it had to be an arrow function. Thank you I was trying all variations and I didn’t see that as the problem
It is a normal course of action for people when they are uncertain or quite not know to try “all” variations. That’s why I asked you to explain, in the hope you’d initiate an internal questioning of what you understood.
system
Closed
September 6, 2024, 5:46am
5
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.