Learn Asynchronous Programming by Building an fCC Forum Leaderboard - Step 46

Tell us what’s happening:

Don’t have any direction to give in helping me. Sorry for this,

Your code so far

<!-- file: index.html -->

/* file: styles.css */

/* file: script.js */
// User Editable Region

const avatars = (posters, users) => {
  return posters.map(poster => {
    const user=users.find( user => {
      user.id===poster.user_id
    });
  });
};

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36 Edg/141.0.0.0

Challenge Information:

Learn Asynchronous Programming by Building an fCC Forum Leaderboard - Step 46

Your code works but doesn’t exactly match the requirements:

…implicitly return the result of checking if user.id is strictly equal to poster.user_id

The key word is ‘implicitly’. Do you know the difference between implicit and explicit return statements?

1 Like

Step passed thankyou.

1 Like